Hi
We have a need for an activation policy or alarm to be able to trigger the cancelling of a already created task. This would be based on a parameter matching. Is this at all possiable?
Thank you,
Nancy
Yes, you can setup an activation policy "policy type" to cancel a workflow based on predefined conditions. See screenshot below for example on choosing a "cancel workflow" policy type.
Sorry, once a workflow instance is running there is no way for an Admin or BOD to cancel JUST a task step within it. A workaround is sometimes to create a parallel branch in your workflow to your Task activity. That parallel branch can check for conditions and if met, complete the branch and cancel the task. So for example, you can put a Timer activity in a parallel branch set to 48 hours. If the task isn't completed by the time the Time reaches 48 hours the timer branch completes and the Task branch is cancelled. I think you could put an API activity in a branch as well. The API call could call your ERP and see if the data has changed. If so, then branch would complete. You could even put the API call inside a loop so that it checks the ERP every so often, say once an hour. Maybe that would work for you?