Variable to be visible only in 1 task

naga karthik1
Tera Contributor

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. 

5 REPLIES 5

OlaN
Giga Sage
Giga Sage

Hi,

If you deselect the Global attibute on the variable, you can specify on which tasks the variable should be available on.

From the Docs:

"

Global If selected, the variable is available for all catalog tasks within service catalog workflows or execution plans by default. If deselected, the variable must be associated with individual catalog tasks.

"

Hi OIaN,

 

Thanks for your answer. can you please let me know how can specify on which tasks the variables should be available after deselecting global checkbox. Is is via client script on sc_task??

Hi,

Link has options available. In case, the first link does not work you can try looking for catalog task activity in workflow editor and then add required variable from the slushbucket.

Like @Jaspal Singh  already stated, you need to either define which variables should be available.

In Flow Designer, you select variables when creating the Catalog task.

In Workflow Editor, you select variables when creating the Catalog task.

(see example images below)

flow-catalog-variable.png

 

workflow-variables.png