Unique information field of catalog variables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Good morning!
I will start by explaining the need we have.
Our service catalog has over 2000+ items, and its growing fast. As such, we're trying to find ways to minimize the creation of new variables, to reuse those we have already have. A lot of these variables and variables sets use clientscript to better accomodate our needs.
For example, we might have a variable set with a single question, prompting a task assigned technician to select "yes" if a task for another team is required. The question is embedded in a variable set to allow clientscript interaction, notably, to make the variable mandatory ONLY once the task is set to completed.
So, back to our problem. That question, which usually presents itself as "Is a task for the [insert name of team] required?" is pretty repetitive, and we're trying to find a way to dictacte on a catalog item basis what that name is. As such, we could have one generic variable set, to be used in different catalog items, in which we would specify on creation the name of the team to be displayed.
Is there a field in a variable set or variable that is unique per instance of catalog item, in which we could write the info and query with a clientscript? From there, it would be a simple matter of pulling the info, concatenate it with our original string.
Thank you so much for anyone who has a small bit of idea on how to proceed!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I'm not sure if I follow your question. If you just want to re-use variables with some associated client scripts, a variable set is the way to do that. It sounds like you're already doing that, so I'm not sure what you are trying to ask for.
If you are trying to pull a specific team name into the question part of the variable, I don't think that's doable. Your language would just need to be generic enough to explain it. You could also pull in the "Fulfillment Group" of the current catalog item and display it on your form somewhere, if that matches the group you are trying to reference. So it would look like this:
"Fulfillment Group" MyGroupName
"Is a task for the Fulfillment Group required?" Yes/No