How to hide a state on the process flow formatter for a view?

saint
Tera Expert

Hi Experts,

 

I want to remove a response state on a particular view from this process flow formatter. How should I achive this?

saint_0-1696846609568.png

 

4 REPLIES 4

SHARANsnow7
Tera Guru

Hello @saint 

Navigate to  System UI >> Process Flow 

Filter by table.

Modify required filter conditions and it will hide it from the Process flow,Save the changes to the view.

By unchecking the checkbox next to the state, you are hiding it from the process flow formatter for that specific view.

For your reference also check below link

https://www.servicenow.com/community/developer-forum/how-to-hide-some-state-of-process-flow/m-p/2164...

Help others to find a correct solution by marking the appropriate response as correct answer and helpful

Thanks,

Sharan

RaghavSh
Kilo Patron

OOB there doesnt seems a way to do this. It can be done with DOM but that is not recommended.

The alternative is:

1. Create a custom field or use any existing empty field on your table and store the view name in that field.

Refer https://www.servicenow.com/community/developer-forum/how-to-check-view-name-using-client-script/m-p/...  to store view name on field through onLoad client script.

2. Once that is done, in the "sys_process_flow" table set the condition which will check the view name you have set in step 1.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023

@saint did you try this?


Raghav
MVP 2023

Nivedita Patil
Mega Sage
Mega Sage

Hi @saint ,

 

Please refer  the  below link.

 

https://www.servicenow.com/community/developer-forum/how-to-hide-some-state-of-process-flow/m-p/2164...

 

Mark my answer correct and helpful if helps you.

 

Thanks,

Nivedita Patil.