How to add "Cancel button" after submitting a form in the portal ?

yasserbouat
Tera Guru

Hello dear community,

I created a catalog item in order to let users submit their request from the portal, and I want to add a cancel button that will display after submitting the form and when the request is still not approved, in order to let users cancel their request : 

yasserbouat_0-1741687365992.png


But I am not good at scripting, can someone please show me how to do it ?

Thanks,

1 ACCEPTED SOLUTION
7 REPLIES 7

@Ankur Bawiskar 

I created this button : but I don't know how to place it in the form after submitting it + I don't know hwo to add the action "update state to cancel" within the button

yasserbouat_0-1741965398136.png

 

@yasserbouat 

Hope you are doing good.

Did my reply answer your question?

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

yasserbouat
Tera Guru