Add additional approver to RITM in SOW and backend

Eli7
Tera Expert

Hi All,

 

I am trying to add a UI Action 'Add Approver' on RITM or Edit list button on Approver related list to add additional approvers but cannot get it to work. 

 

Has anyone got this or similar to work and can share how you got it to work please.

 

Thanks!

2 REPLIES 2

Its_Azar
Tera Guru

Hi there @Eli7 

 

you can create a UI Action to handle this. First, make sure you have the appropriate access to modify the UI actions. Then, create a new UI Action on the `sc_req_item` table.

In the script, use GlideRecord to insert a new record into the `sysapproval_approver` table with the details, such as the RITM reference and the approver details. If you prefer using the related list edit option, make sure you have configured the related list layout and permissions correctly to allow adding new records. 

 

If this helps kindly accept the response thanks much.

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.




Kind Regards,

Mohamed Azarudeen Z

Developer @ KPMG

 Microsoft MVP (AI Services), India

Thanks Azar, I tried as you suggested but get nothing to really work. I was only able to add Edit but on related list by Insert and Stay from an existing one but there the Edit button doesnt work and I suspect its the payload option but I dont know this too well.

 

With UI action I tried with Ajax for SI and UI script but I get error message in SOW. Do you happen to have a custom example where you open a modal with a reference field that you could share? It doesnt have to be add approver just the theory to open a modal with a reference field to select from.

 

Thanks!