In change request how the state will be moved automatically?

Ktr
Tera Contributor

Hello Team,

In change request how the state will be moved automatically from state to assess. Also on header how to create buttons like request approval etc?

 

Ktr_0-1669881021632.png

 

3 REPLIES 3

jshaheen
Tera Expert

Hi,

The state changes based on the workflow. You can create Button like "Request Approval" using UI Action.

 

Mark my answer correct based on your impact

Nayan  Dhamane
Kilo Sage
Kilo Sage

Hello @Ktr,

The states and the flow of the change request is based on workflow.

 

to create a new button you can use the below links.

How to create a button on the Incident form

https://www.youtube.com/watch?v=r37QoL7MJgI

 

Please Mark as correct.
BR,
Nayan

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.

Mohith Devatte
Tera Sage
Tera Sage

Hello @Ktr ,

Those buttons are called UI actions .We call it as UI actions on in the native view .You can create them by click on the header or banner of the form and go to configure option and click on UI action.

See the screenshot below 

Screenshot 2022-12-01 at 13.28.21.png

Then once you click on it you can see the list view of all the UI actions on that particular table and you can create a new One.

Screenshot 2022-12-01 at 13.29.50.png

 

Here you can see you can create a new one and check on Form button check box which will create the UI action on the form.Like ways you can create on the list level also by checking list banner button check box .So this typically depends on your requirement where you want to create and also you can control the visibility of the UI actions by adding condition in the condition field

For more info check this link 

https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/list-administ...

In this link go to create UI action and try to create a new one .You will learn how to deal with it .

 

And answering to your question on how the state changes to assess on the change request form .On the Request approval button there is OOB code to move the state to assess once you click on it .You can code in UI actions .

 

Screenshot 2022-12-01 at 13.36.03.png

 

they are setting the state to -4 which is assess 

 

Hope this helps 

Accept the solution if it helped you in any way

Thanks