We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to create cancel request button on the service portal?

shahida1
Mega Contributor

I need to add cancel request button on the portal so that when a user click on it, it cancels the REQ Item and go to cancelled state. Can someone help me with code?

 

Thanks in advance

5 REPLIES 5

try adding logs and check

The links I shared has correct answer so that should work fine.

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