How to pass a value to a variable used in the PromptSet ?
Requirements: The outer workflow has workflow and a job as its tasks.
The inner workflow(JOBP.NEW.INNER) has a job which will set the value of the variable and publish it.
The task JOBS.WIN.SET_TOKEN needs to set the variable &TOKEN and publish it. Then, the task JOBS.WIN.GET_TOKEN(from the out workflow) will need to access the &TOKEN using a PromptSet object.
Release : 12.x, 21.x
Steps to follow:
-In the job JOBS.WIN.SET_TOKEN, set the value of the &TOKEN and publish it using the option TOP. In this way, it will pass the value to the &TOKEN to the outer workflow.
Ex.
-The PromptSet object needs to have the definition below.