UI Action to trigger Approval in the custom table

H M Aishwarya1
Tera Guru

Hi,

 

I have a requirement to trigger an Approval from the UI Action - On click of the button there should be Approval triggered to the user and in some cases group Approval. How to configure the UI Action to trigger the Approval for the Custom table.

 

Any suggestion would be highly Appreciated!

 

Thank You. 

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@H M Aishwarya1 

you will have to insert record into approval tables using GlideRecord

check this

create a approval record using a script 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,

 

I was able to trigger the user approval and i am trying to set the value of Approval field in change form to Approved once the approval is approved, Its not happening in the workflow i have added the condition once this approval is approved then then the flow will move forward.

 

But i am not able to set the Approval to approved.

@H M Aishwarya1 

share some more details and screenshots.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,

 

This Approval is triggered from the UI Action once this is Approved

HMAishwarya1_0-1747130636718.png

 

I want to set the Approval field in the change form to Approved

 

HMAishwarya1_1-1747130714523.png