- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 09:55 AM
How to hide variables on a SPECIFIC SCTASK. This is a request with a multiple sctask and I just wanted to hide it only on the second task
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 10:10 AM
Hello,
If you want to hide it only from second task do the below:-
1) Go to the workflow. In the workflow open the catalog task activity for the second task
2) Once opened you will see the slush bucket for where you can select the fields which needs to be removed just move it from selected section to available
Then it will no longer appear .
The above method is more beneficial as there is not need to maintain any script or UI policy.
Please mark answer correct/helpful based on Impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 10:09 AM
Hi,
You could write an onLoad client script that 'Applies on Catalog Tasks' and includes logic like:
var taskName = g_form.getValue('short_description');
if(taskName == 'Task2')
{
g_form.setDisplay('Variable', false);
}
Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 10:10 AM
Hello,
If you want to hide it only from second task do the below:-
1) Go to the workflow. In the workflow open the catalog task activity for the second task
2) Once opened you will see the slush bucket for where you can select the fields which needs to be removed just move it from selected section to available
Then it will no longer appear .
The above method is more beneficial as there is not need to maintain any script or UI policy.
Please mark answer correct/helpful based on Impact

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2022 10:11 AM
Hi Zhane,
If the catalog tasks are created by workflow then I would simply go to the workflow & look for the specific catalog task activity. Open it & then scroll to the bottom & move the variables I want to show on that particular catalog task.