External Task Action Listeners?

Is there plans to add listeners for external tasks? and/or a way to implement this through another listener?

Changes like:

  1. Lock
  2. Unlock
  3. Priority change
  4. Retries change
  5. Failures

Hi Stephen,

There are currently no such plans and I can’t think of a workaround to achieve this.


@thorben checking in on this. Has there been any discussion about adding this capability?

I was thinking that could likely handle this using a cmd/db event listener through Context. Generate a Plugin that injects a global transaction listener that looks for the entities that are updating a external task.

Example usage here would be: Long running External tasks, send out a notification when a task is Fetched/Locked/Started

1 Like

Hi Stephen,

We still do not have plans for this.


I understand there is not change in this area?
I was looking for a way to intercept event when external task is taken over because it exceeded lock time.

I have found that usually can work through these issues with Command Interceptors / CommandInterceptor.