Please, I would like to create a communication between an algorithm which I have implemented and YAWL.
When a an adaptation action will be performed (for example: a new task will be added at runtime), my algorithm receives a notification to do some treatment.

Can any one suggest what should I do?


adding tasks at runtime is something that can be done by the worklet service. You might look at this if you have not already done so.

The other topic is communicating from a YAWL workflow to any other "algorithm" running outside of the YAWL engine. This can be achieved with codelets.