Support for passing completion time in BPM user task complete


I am working on a project where user tasks can be completed by users on their mobile app even when they are offline and this information is later synced to server.

Now on server side when I get to know that a user completed certain task, I would like to complete it in BPM but mark endDate to exact time when user marked in his app.

Problem is processRuntimeManager.completeProcTask always marks timeSource.currentTimestamp() as the endDate.

Is there any workaround this or can this be raised as a feature request?


you can write your own service that will first execute the processRuntimeManager.completeProcTask and after that update the endDate property of the ProcTask with the required value.

1 Like

Thanks, I am doing this only now.