MODIFY_TASK - runid of the modified task is not shown in the logs

Document ID : KB000084885
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

When using MODIFY_TASK, the Runid of the modified task is not written to the logs.

Investigation
The below script line is used for MODIFY_TASK.

:set &ret# = modify_task(&sys_act_parent_nr#, DB_TEST.SELF_SERVICE, &task_no#, BREAKPOINT, "YES")

In the log message U00020760 it is written the runid of the workflow but not of the task:
 
2017-08-10 14:17:36 - U00020760 User 'DB4A/DEUBA' modified task 'DB_TEST.SELF_SERVICE' in Workflow 'DB_TEST.SELF_SERVICE' (RunID '0002713976') with: MODIFY_TASK, opcode = 'ACTIVE' and parameter ('NO' ).
Cause:
Cause type:
By design
Root Cause: As at the moment of the log message U00020760 the task is not yet running, no Runid was assigned and therefore cannot be shown in the logs.
Resolution:
N/A

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A