Conditional Rule with Job attribute condition for On-Do actions
This example shows you how to create a rule for On-DO actions that also contains a Job attribute condition. In this case, we want to create a rule that when a Job ends not ok, the following message is sent to the Alerts Window only:
%%JOBNAME HAS ENDED NOTOK
In the Site Standard, select Rule:
In the Rule Prerequisites tab select All Job types:
In the Job Attribute tab, search for and select On-Do Actions-->On Statement: Job/Folder ended Not Ok-->Do Action: Notify:
Click Add an Attribute Condition, and add the following condition:
In the Rule Format tab, select Message-->Include-->Value: %%JOBNAME HAS ENDED NOTOK: