Error Message :
The SAP RemoteTaskManager (JOBQ) with runtime parameter "Terminate automatically" in the Attributes tab does not terminate when no SAP job is found.
This should only happen when "Terminate automatically" is not set.
When jobs are found, RemoteTaskManager terminates after the last found job finishes, which is the expected behavior.
Step 1Create RemoteTaskManager using runtime parameter "Terminate automatically":
Step 2Create intercepted Jobs in SAP:
Step 2a: OK Case
Execute RemoteTaskManager. Intercepted jobs execute and RemoteTaskManager terminates:
2016-12-19 13:37:35 - U2004115 Child job name = 'SCJ_INTERCEPT(13364500)', number = '4223673'.2016-12-19 13:37:35 - U2004115 Child job name = 'SCJ_INTERCEPT(13364700)', number = '4223674'.2016-12-19 13:37:35 - U2000005 Job 'SCJ_INTERCEPT' with RunID '4223673' started.2016-12-19 13:37:35 - U2004032 SAP job 'SCJ_INTERCEPT' with number '13364500' started successfully.2016-12-19 13:37:36 - U2004027 SAP job 'SCJ_INTERCEPT' with number '13364500' ended normally.2016-12-19 13:37:36 - U2000005 Job 'SCJ_INTERCEPT' with RunID '4223674' started.2016-12-19 13:37:36 - U2004032 SAP job 'SCJ_INTERCEPT' with number '13364700' started successfully.2016-12-19 13:37:37 - U2004027 SAP job 'SCJ_INTERCEPT' with number '13364700' ended normally.
Step 2b: NOT OK CaseExecute RemoteTaskManager. No intercepted job is available:
RemoteTaskManager stays active:
User Guide > Process Assembly Perspective > Defining Objects > Attributes Page