Login to the DE via Desktop Client.
Setup an Alert under Services -> Alert.
execCommand('MY_JOB1','%(APPL._name).%APPL._gen','ACTION COMPLETE REASON("MY_JOB1 had issues")');
To force complete the entire application, use the following script:
execCommand('ALL','%(APPL._name).%APPL._gen','ACTION COMPLETE REASON("Force Completed the application")');
Note: Put the APPL._name in parenthesis (). Otherwise, the variable will get changed to uppercase resulting in unresolvable variable.
Next, add the Alert to the Notifications in the job or in the application. Define the state(s) for the Alert to trigger on.