How to revert to new a change request that is in 'authorize' state

Carol2
Tera Contributor

Hi, 

Using the 'Revert to new' ui action how do i move the change back to new when its state is authorize?

what do i add to the script 

find_real_file.png

8 REPLIES 8

Hi,

please check links shared by Priyanka; they talk about the issue

for visibility update UI action condition as below

current.state.canWrite()  && current.state == 'Authorize' && ((current.type == ChangeRequest.EMERGENCY && new ChangeRequest(current).isAuthorize()) || (current.type == ChangeRequest.NORMAL && new ChangeRequest(current).isAssess()))

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Ankur 

 

The condition code didn't work the ui is still not visible and i cant change the workflow name. i tried to do this via properties. 

 

are these the default OOB names?

The out-of-box (OOB) workflow name below were changed:

  • Change Request - Normal
  • Change Request - Standard
  • Change Request - Emergency

Priyanka Vasant
Tera Guru

Hi Carol,

Please go through the below link that might help you.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0778344

https://hi.service-now.com/kb_view.do?sysparm_article=KB0690904

Mark helpful or correct based on impact.

Regards,

Priyanka A.

Hi Priyanka

 

I cant update the workflow name and is the below the OOB workflow name i cant find the default OOB name

The out-of-box (OOB) workflow name below were changed:

  • Change Request - Normal
  • Change Request - Standard
  • Change Request - Emergency