Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to hide some state of process flow?

eer biondo
Giga Contributor

Hi,

how can I hide the 'submitted' and ' screening' state in process flow if 'U_tag = enhancement' and show it if u_tag = project?

i have tried with ui policy script but don't work

find_real_file.png

1 ACCEPTED SOLUTION

RaghavSh
Mega Patron

1.Go to Process flow from application navigator

2. Search By table:

find_real_file.png

3. open the required record and set the condition for submitted and screening on basis of u_tag

find_real_file.png


Raghav
MVP 2023
LinkedIn

View solution in original post

7 REPLIES 7

RaghavSh
Mega Patron

1.Go to Process flow from application navigator

2. Search By table:

find_real_file.png

3. open the required record and set the condition for submitted and screening on basis of u_tag

find_real_file.png


Raghav
MVP 2023
LinkedIn

MrMuhammad
Giga Sage

For hiding states from process flow formatter banner you need to modify UI Macro of this. I have done this for Change Request couple of times.  Make Sure to Inactive the OOB process_flow UI Macro and use insert and stay to create a copy of it and make necessary changes so you do not fall into issues while future upgrades. 

Regards,
Muhammad

Jaspal Singh
Mega Patron
Mega Patron

Look for System UI >> Process Flow from Applicaton Navigator.

Filter by table.

Modify required filter conditions & it will hide it from the Process flow.

Kunal Varkhede
Tera Guru