we have an external system that saves some data which has to be updated in my process when it is edited in the external system.
I thought I could handle this via the tasklistener (assignment event). But it is possible that someone claims a user task and works on it a few days later, so the data could be old again.
What I need is to look after new data in the external system at the moment, when a user clicks on the task in his tasklist.
Hello @NickiMueller,
You could use an event based subprocess with a non-interrupting message start event. The message is being sent from your UI and triggers the variables value update. These values then can be loaded by the task form.
I think itâs supposed that the external system sends a request to your process which is then translated to the start event of the subprocess.
If the external system does not care about any processes then Iâd probably use a timer start event. I.e. perform time based polling of the external data.
The client needs to trigger (send) an event to the backend. You can use some javascript to send a rest request to your backend application that correlates the message to your process instance.