Variable to be visible only in 1 task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 11:53 AM
Hello All,
I have a requirement to show 2 variables in task level but not on RITM and Form level.
For this I have made the variables as Global True and written a UI policy to hide these on form and RITM level.
So this works well and these are visible on task level. But I want this to be visible on only 1 task but not on all tasks of RITM, which is not happening and these are visible in all tasks of the RITM.
Please let me know how can I achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Hi,
I tried unselecting the variables from the selected list on the create task activity from Flow designer to hide the variables from one specific task and made sure global checkbox is unchecked on the variable, but this didn't work for me. Any idea if I am missing something?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 12:48 AM
Hi @naga karthik1 you can create a onLoad client script on sc_task table,
var sd = g_form.getValue('short_description'); //task short desc
if(sd == "your task short desc")
{
g_form.setVisible('variables.variablename',true);
}
else
{
g_form.setVisible('variables.variablename',false);
}
Harish