How to Cancel a Task

Defining changes in MPS

This enhancement adds functionality into the IPF flow to support task cancellation, building on top of Getting Started with Human Task Manager (HTM)

To Manage Tasks, the following amendments to the HTM Flow defined in Getting Started with Human Task Manager (HTM) would be required:

1) Update State and Event Definitions

htm cancel task 01
htm cancel task 02

Now consideration has to be given to passing in the taskId, which is the output of the task creation phase we have completed earlier. This is contained in the HumanTaskManagerTechnicalResponseData

2) Implementing the required behaviours

Now we need to connect the behaviours associated with state and event definitions we have added:

htm cancel task 03
htm cancel task 04

If Cancel Task Response in unavailable for the Input Behaviour, it is necessary to import the domain function (Select Ctrl-R twice and enter IPF Manage Tasks Domain)