08-23-2018 09:49 AM
Hi,
I have a tasklistener that executes within two tasks of a called sub-process. This tasklistener retrieves the parent process id. In the first task, which happens to be the first task of the process, the returned parent process id is null. However, the returned parent process id from the second task with the tasklistener is correct.
Is the null return from the first task something to do with the first task of the called sub-process being in the same transaction as the parent process?
Thanks
09-06-2018 07:19 AM
Can you share you process definition(s) showing the tasks?
09-16-2018 12:49 AM
Hi, I've created a couple of simple process definitions plus listener to test this. See attached.
The behaviour I'm now seeing with a JUnit test is that in both cases (Task 1 and 2) the task listener returns null for the parent process id.
09-17-2018 08:35 AM
Can you structure the files in a maven project that I can test?
09-18-2018 10:18 AM
Explore our Alfresco products with the links below. Use labels to filter content by product module.