How to trigger User event listener from REST API?

Hello,

We are trying to trigger various User event listener using the rest API, to indicate the user is cancelling the current stage (and going back to a previous stage in the process). We tested our CMMN using Flowable UI (Tasks module) and it works as intended.
However in Swagger, when trying to trigger the User event listener, it always requires the channel, which I can’t specify in the User event listener. What am I missing ?

Thanks in advance,

Florence

That’s because it’s actually a generic endpoint: /cmmn-runtime/plan-item-instances/{planItemInstanceId} where the planItemInstanceId is the id of your user event listener (instance, not the model id).