Execution Listeners Executed by External Services

Recently we are building a python service to execute service task in our workflows externally utilizing the external task mechanism which works well for us.

At the same time, we would also like the python service to also handle the logic for the execution listeners that we would like to add. However, after reading the documentations here and searching in the forum, I could not find information regarding how the execution listeners can be executed in an external service.

Therefore, I was wondering if there are any recommendations regarding the use case. Would it be good to let an external service to execute the execution listeners and if it is, are there any ways for us to achieve that? Thanks!!

@mjyan refer the below post.

@mjyan: When you create your external task mechanism, you could just create a “lambda” style api: Have a Java Delegate that calls your api to execute a synchronous action. Listeners are synchronous and ordered, so you can recreate similar functionality.