Inside a work item handler I have the possibility to complete a work item (WorkItemManager.completeWorkItem(processid, results))
or to abort it (WorkItemManager.abortWorkItem(processid)).
How is the process which includes thís work item informed that the work item is aborted? Is it possible to give some information why the work item is aborted to the process?
Any suggestions are appreciated.
You could follow similar pattern to what ReceiveTaskHandler does, meaning you add reference to the session in work item handler and then use it to, for instance insert a fact or set process variable.
Retrieving data ...