on 08-25-2015 7:00 PM
Hi All,
We are not able to receive the notifications for the jobs which goes to Status 'Console'. Please help how can I modify my code.
String strLogFileName = "";
String ccmsjob = "SAP_CcmsJob";
String bwpc = "SAP_BW_ProcessChain";
String bwp = "SAP_BW_Process";
if((jcsPostRunningContext.getNewStatus().equals(JobStatus.Error) ||
jcsPostRunningContext.getNewStatus().equals(JobStatus.Overdue) ||
jcsPostRunningContext.getNewStatus().equals(JobStatus.Killed) ||
jcsPostRunningContext.getNewStatus().equals(JobStatus.Console))
&& ! ( jcsJob.isActualJobChain())
&& ! ( ccmsjob.equals(jcsJob.getJobDefinition().getName()))
&& ! ( bwpc.equals(jcsJob.getJobDefinition().getName()))
&& ! ( bwp.equals(jcsJob.getJobDefinition().getName()))
)
Thanks,
Tinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.