I currently evaluate to move our Camunda usage from Camunda 7 to Camunda 8.
In our current implementation we use nearly on each user task an assignment listener. In the listener implementation (which can be process dependent) we validate the user change and store the changed user key for further usage.
Is there an option to react on the assignment change in Camunda 8?
I have read following post:
Are there plans to add such capability in the future?
@Philipp_Ossler@BerndVarga I think there is a way, according to this, zeebe-script-worker , the assignment can be defined as a expression , and when the ScriptJobHandler run, we can get the result and pass the variable back, then we get the assignment user.
Yes. Unless you have an implementation of the user task worker that exposes lifecycle changes via notification, the only notification you could get is async.
You could model it with a script worker for assignment of the task, then an incoming message for the task completion (and even for assignment / assignment change). However, you lose the semantics of user task in the model.