Skip to main content

Groovy Script - Cancel Workflows of the Current Form

Description: Sample Groovy Script to cancel Workflows of the current Form. This script should be directly used with Trigger and shouldn't be used within a Workflow definition.

Context: App

App Type: Select an active app type as required.

Remark: Accessible in Post task mode only.

Script:

def execute(){
formService.cancelWorkflow();
}

Did this answer your question?