Passing Variables within a Job Sequence
Posted: Fri Nov 19, 2010 8:31 am
I have a basic 3 'stage' job sequence.
1) Job Activity - Executes a DS job that creates a TXT file containing an integer which represents the identifier of the just completed nightly batch run (works fine)
2) Routine Activity - Reads the integer from the above file (works fine) and, if the number is anything > 0, it goes to:
3) Notification Activity - Sends an email stating the nightly batch run has completed.
My 'issue' is in step 3... it works fine as is but I want to customize the email by including the actual value of the identifier (mentioned in steps 1 and 2) in both the SUBJECT and BODY of the email message...
I have tried assigning the value to user status, return value, using a job parameter, etc) but when the email is produced, whatever variable I have tried to use, is always blank...
Anyone have any thoughts???...
Thanks...
Chuck
1) Job Activity - Executes a DS job that creates a TXT file containing an integer which represents the identifier of the just completed nightly batch run (works fine)
2) Routine Activity - Reads the integer from the above file (works fine) and, if the number is anything > 0, it goes to:
3) Notification Activity - Sends an email stating the nightly batch run has completed.
My 'issue' is in step 3... it works fine as is but I want to customize the email by including the actual value of the identifier (mentioned in steps 1 and 2) in both the SUBJECT and BODY of the email message...
I have tried assigning the value to user status, return value, using a job parameter, etc) but when the email is produced, whatever variable I have tried to use, is always blank...
Anyone have any thoughts???...
Thanks...
Chuck