How to hide a state on the process flow formatter for a view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:17 AM
Hi Experts,
I want to remove a response state on a particular view from this process flow formatter. How should I achive this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:36 AM
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
Help others to find a correct solution by marking the appropriate response as correct answer and helpful
Thanks,
Sharan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:48 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 12:49 AM
@saint did you try this?
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 05:23 AM
Hi @saint ,
Please refer the below link.
Mark my answer correct and helpful if helps you.
Thanks,
Nivedita Patil.