Vladi1
Kilo Guru

I have read numerous posts about making variables visible and even required on Catalog Tasks, but not on Requested Items.
Based on various answers and potential solutions I have designed two options that we use

Option 1 - create variable on RITM level

First step is to create a variable on RITM level and define its visibility using UI Policy

find_real_file.png

Next, a client script (onSubmit) has been applied on a catalog task. One of the conditions is catalog task short description (not best practice, probably task sys_id could be used). By using short description field in script conditions, we can apply this rule to any task regardless on its order in a workflow; i.e., Task 2 instead on Task 1. 

find_real_file.png

Finally, in the workflow we added this variable to selected variables on catalog task where we want to make this variable visible. 

Option 2 - create variable on Catalog task level

This approach creates variable on the workflow and it is visible on the RITM form if there is no defined any UI Policy.
First step is to go to workflow/edit workflow variables and add a new variable. Create new variable and add it to catalog task, or preferred catalog task if there are more than one. 
In this approach onSubmit script is created on catalog task level (can be created from any catalog task). 

find_real_file.png

 

 

Version history
Last update:
‎05-04-2018 08:37 AM
Updated by: