Retrieve planItem after event listener

Hi,

I am implementing a use case that after a user clicks on a button, an userEventListener is triggered. This userEventListener will open a task as in the model below. I would like to know how could get the task-planItem opened by the triggered userEventListener so I can display the task in the frontend?

Thanks.

1 Like

We found a solution by modeling the user event listener and the task in the same stage. They are related by the propagatedStageInstId, so we look for the task with the same stage id than the user event listener.