Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Button to move policy exception back to draft when it expires

MarisaW81535484
Mega Contributor

Hello, 

 

I am trying to create a UI Action button that will appear when a policy exception expires and allow the user to move the policy exception record back to the 'New' state. I am unsure of how to do this as there is no expired state for the policy exception record there is only an Expired substate which is driven by the extensions. I do not want the button to be based on extensions. I also tried using a condition on the 'Valid to' field but this did not work because when the valid to date passes a new date must be input before being allowed to press any buttons or save the record. If anyone has done this or something similar before please let me know how I can achieve this. 

0 REPLIES 0