Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

At Postjob check for variable and send email

Hi,

 

When tPostJob component is run, I need to check for a global variable called "passOrFail". If it is set to 1, I do not need to send email, but if "passOrFail" is set to "0" I need to send a failure email. Can some one please let me know how to achieve this ? Basically at the end of job I need to check for a variable value and send or not send an email. Can some one please suggest on how to achieve this ?

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

With the purpose of your job, the Run if trigger feature will be helpful. It triggers a subjob or component in case the condition defined is met.

For further information about Run if, see Run if connection settings.

Best regards

Sabrina

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hello,

With the purpose of your job, the Run if trigger feature will be helpful. It triggers a subjob or component in case the condition defined is met.

For further information about Run if, see Run if connection settings.

Best regards

Sabrina