chulett wrote:Called job sets USERSTATUS. Calling routine uses DSGetJobInfo with an InfoType of DSJ.USERSTATUS to retrieve it.
Perfect Criag!!!
Iam using that routine in JobSequence. And using Routine.$ReturnValue to pass the value fetched from this argument to other jobs. Is there any simple way.
As you know, there is no UserStatus for RoutineActivity in Version 7.
dsdoubt wrote:As you know, there is no UserStatus for RoutineActivity in Version 7.
Because there's no need for that. It is, however, supported for the Job Activity stage.
Ray's point was that if you had used a Job Activity stage to run the job in the Sequence, you could have leveraged that to automatically pass $UserStatus from it to any downstream activity. Using the routine unnecessarily complicates the process... unless there is some reason you needed to build it that way?
-craig
"You can never have too many knives" -- Logan Nine Fingers