I have created a custom step called otReturnParentJobName.
It uses JTXSteps.ReturnValue and has only one argument
/value:[JOB:PARENT_JOB_NAME]
When I run this step in a job that is a child of another job I get the message "Invalid parameter"
I have checked the database table JTX_JOBS and know that this is a child and can find the name of the parent job in the table.
If I change the step to
/value:[JOB:PARENT_JOB]
It works successfully. Why can it get one value and not the other?
I am running 10.2.2 on Oracle.
Thanks,
Alison
Solved! Go to Solution.
Hi Alison,
Workflow Manager expects all step return values to be integers, so the ReturnValue step expect all its parameters to be integers in turn. As such, the job name cannot be used as a return value.
Thanks,
Kevin
Hi Alison,
Workflow Manager expects all step return values to be integers, so the ReturnValue step expect all its parameters to be integers in turn. As such, the job name cannot be used as a return value.
Thanks,
Kevin