How are approvals marked as cancelled via a WorkflowIssue The user wanted to know how their approvals were being marked as "Cancelled" - where that logic was stored.ResolutionThe user was using an "Approval - Group" workflow activity to generate their approvals. It was found that the logic to transition the State of the approvals to "Cancelled" was stored in the Workflow Activity Definition for "Approval - Group". The function is as follows: onCancel: function() { this.approvalUtils.setPendingGroupApprovalsByIds(activity.scratchpad.approval_ids, 'cancelled'); this.approvalUtils.setPendingUserApprovalsByGroup(activity.scratchpad.approval_ids, 'cancelled'); activity.state = 'cancelled'; activity.result = 'cancelled'; }, This logic is on line 105 of the "Script" section of the Workflow Activity Definition ( ref: /nav_to.do?uri=wf_activity_definition.do?sys_id=354e911f0a0a029a00e6a0e6ad74206f ).