Remove a stage flow from a Change in Service Operations Workspace(SOW)

Pablo Neves M
Tera Contributor

Hello, guys, i need help with a problem in SOW.

 

I need to remove a state flow "Assess" from SOW, but in the SOW this flow is a formatter, and the page is OOB read only.

 

How do i let the Change in SOW equals to the Change in the Plataform without the "Assess" stage

 

I already removed from Process Flow but it's not reflected in the SOW Change 

 

Thanks!

1 ACCEPTED SOLUTION

Tai Vu
Kilo Patron
Kilo Patron

Hi @Pablo Neves M @Huma Naaz2 

The Chg Stepper in the Overview tab get States on 2 different conditions. You can refer to the below script:

Name: Change Model States

https://<instance_name>.service-now.com/sys_ux_data_broker_transform.do?sys_id=0f1e63d377305110403eaeb4bb5a9981

Line 11: 

 

var modelStates = new global.ChangeModel(chg_model).getStates();

 

and Line 27:

 

var choiceGr = new global.STTRMStateChoiceUtil(blankModel)._getSysChoices();

 

 

Just do a quick test by deactivating the choice to validate it.

TaiVu_0-1741335267353.png

TaiVu_1-1741335268077.png

 

Cheers,

Tai Vu

View solution in original post

10 REPLIES 10

Hi @Huma Naaz2 

Then it's because the Change record in your case comes with a Change Model.

TaiVu_0-1741758463219.png

 

You can look deeper into the script below to understand how it works

Name: Change Model States

https://<instance_name>.service-now.com/sys_ux_data_broker_transform.do?sys_id=0f1e63d377305110403eaeb4bb5a9981

 

Your case drops into the first condition input.changeModel, so the States are retrieved from this line.

var modelStates = new global.ChangeModel(chg_model).getStates();

It direct to this table 

https://<instance_name>.service-now.com/sttrm_state_list.do?sysparm_query=sys_package%3D03684fc2851512108a7c81b65f878930%5EGROUPBYsttrm_model&sysparm_first_row=1&sysparm_view=

TaiVu_1-1741758844634.png

 

The point is that there is no Active flag in there for you to deactivate a specific state. It's model set to configure the state transition.

 

Cheers,

Tai Vu