
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 09:46 PM
I have a catalog item that once submitted generates a number of sc tasks.
What I need to do is have a number of variables not only show, but also be mandatory on only one of the sc tasks that is created.
The tasks are all created at the same time.
there are a number of differences in each of the sc tasks that are created, the most obvious ones are the assignment group and the short descriptions, however using the catalog ui policy it's not possible to select those fields as a condition.
So ultimately what I want to do is on the particular sc_task, make catalog variables a, b, c, d visible and mandatory, however on all other tasks those variables don't show at all.
I have tried a number of things already without success such as:
how can I have different ui policies for different...
What is the Best Way to Make Catalog Task Variable...
Solved: How to make variable visible only on specified tas... (not using flow designer)
I would really appreciate some instructions if possible please rather than a link unless it is very specific and the same as what I'm trying to do.
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 09:52 PM
Hi @Bidduam I think there is a onLoad client script on SCTask which hides the variable formatter if the variables are not emtpty. You can check client scripts on sc task table.
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 02:34 PM
@Harish KM that was exactly the issue - thank you for your help, everything is now working 😀