Task listener - call api

Can I call API after user task event done.
I want to call API route after user task completed, can I do this.

regards,

@AbdallahWasfy Welcome to the forum :partying_face:

Yes. You can configure task listeners to the event type = “complete” and it will get triggered once the task was completed.

2 Likes

@aravindhrs Thanks for your reply,
Can you tell me where can I define “voteRegisterListener” variable that was defined in Delegation Expretion Field.

regards,

@AbdallahWasfy Select the UserTask >>> Property Panel >>> Listeners

"voteRegisterListener’ is not a variable, it’s spring bean. You can even configure fully qualified Java class.

Kapture 2021-05-05 at 08.35.30