Notifications

3 views

Description

How is the process flow changing the name of the flow from Complete to Deferred when clicked on Defer UI action.

Cause

The business rule is responsible for the changes in the flow formatter.

Resolution


Business rule: dmn_demand_ProcessFlowList

https://xxx.service-now.com/nav_to.do?uri=sys_script.do?sys_id=97a71297c3332100b0449f2974d3ae3b

This has the script which hides the 'Complete' flow on changing the state to 'Deferred'.

//if Deferred,  choice which is teh previous one
if (gr.sys_id == 'a5de2f218f51110040f82ab2f0f92347') {
if (match) {
choices.removeChoice("9"); //remove 'Complete'
choice.setParameter('state', 'current');
} else
continue; //if deferred NOT match don't add to the choice list
}

If needed to customize the flow, this business rule can be used. To add new flows into the state flow use below link

KB0763689

 

Article Information

Last Updated:2019-11-24 13:51:48
Published:2019-11-24