Display state in process flow formatter dynamically

Prabhh
Kilo Guru

Hello,

We need to add new state "Rejected" for Demand workflow and should be visible in process flow formatter only when state is set to "Rejected" similar to "Deferred". Can anyone please suggest what needs to be done for this?

 

- Prabhh

10 REPLIES 10

Jaspal Singh
Mega Patron
Mega Patron

Hi Prabhh,

 

Did you check System UI >> Proces Flow from application navigator? You need to filter by demand table & set required state value accordingly for it show upon on PRocess flow formatter.

Hi Jaspal,

Yes I have added it in the process flow as below but it should be visible only when user clicks on "Cancel" otherwise it should not be visible on flow formatter. OOB there is "Deferred" state in the flow but it becomes visible only when the state changes to Deferred, so I need to implement it similar to deferred.

find_real_file.png

- Prabhh

Rob Erickson
ServiceNow Employee
ServiceNow Employee

A few years late with this answer, but here is a KB article that goes through how to hide states in the Process Flow formatter, in case anyone is still interested:

 

https://hishowcase.service-now.com/kb?id=kb_article_view&sysparm_article=KB0787101

melissahill
Tera Contributor

Did you find  solution for this?  I cannot find how to conditionally show stage in the process flow, either.