Variables should be visible on particular catalog task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2025 09:05 AM
We have multiple variables on a catalog form, and we have additional variables in the catalog item, but some of these variables are currently hidden on the form. We would like these hidden variables to be visible only on specific tasks.
For example:
Task A, Task B, and Task C are the available catalog tasks.
There are four variables: form1, form2, form3, and form4.
Requirement:
form1 and form2 should be visible only on Task B, but not on Task A.
form3 and form4 should be visible only on Task C, but not on Task A or Task B.
In Flow designer we haven't brought the variables to Right slush bucket under create catalog task, but still they are visible on Sc Task
How can we achieve this behavior through flow designer ensuring that the visibility of these variables changes based on the selected task?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2025 01:08 PM
Are you testing with a newly-submitted request? If you change a flow, you will only see the changes on new requests as the version of the flow that was in place when the request was submitted stays in effect throughout the life of the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2025 01:43 PM
Hi Brad, when creating Variables only Global is false. I raised new request but still i can see left slush bucket variables in task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2025 02:18 PM
There's something going on that is not what it seems. Variables by default are not included in Catalog Tasks unless the Global box is checked on any of the variables. To include a non-Global variable on a Catalog Task it must be selected in the slushbucket of the Create Catalog Task activity. Is it possible that there is more than one flow or a legacy workflow running for this Catalog Item, or that the version you are looking at is not published / the active flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2025 02:25 PM
Hello @wefw
This catalog variable selection has nothing to do with the visibility on the catalog tasks. Instead this only marks the catalog variables which will be available to you for use in the flow designer.
Instead there is a "GLOBAL" variable which will make it visible on the catalog task if marked as true.
And if you are making it conditional on catalog task - you need to write Client script - not catalog client script - but directly client script on catalog task table.
I have been there and done this.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY