- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2020 05:11 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2020 05:24 AM
1.Go to Process flow from application navigator
2. Search By table:
3. open the required record and set the condition for submitted and screening on basis of u_tag
Raghav
MVP 2023

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2021 10:13 PM
Hello
I found and refer to the solution, as i have the same condition as well. need to remove a few state from the process flow based on a value. i tried, but not working for me, the state is always display.
refer to your case, your condition setting is like :
u_tag = project, any other condition to set?
Appreciate if i can get helps from you to resolve this.
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2022 12:28 PM
This worked for me to remove the Review item from the formatter when not in Review, from the change_request table:
onLoad Client Script:
...
if(g_form.getValue('state') != 0){
$j("a:contains('Review')").parent("li").hide();
}
...
In your case, this might look like:
if(g_form.getValue('U_tag') == 'enhancement') {
$j("a:contains('Submitted')").parent("li").hide();
$j("a:contains('Screening')").parent("li").hide();
}
TL;DR
This looks in the document for anchor tags, <a>, and further looks to see if it contains the keywords I want, in this case 'Review'. Then it finds the parent <li> tag and hides it, along with the anchor within it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2024 01:54 PM
please use below script in your UI policy and it would hide that. Ensure in your UI policy you set Isolate Script field as false. this field you can set to false form list view of UI policies as this is not available on form