We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. 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