On a process implementation, I would like to manage a status on the tasks.
For example, on a service task implementing a WSDL interface, I would like to manage the status of the request.
If request is OK, then put a status to OK,
If request is not OK (example no answer from the partner), I would like to put "Basket" on the status,
in order to manage a retry or not as to force Ok or KO.
How can we manage this kind of operation on Activiti ?