Skip to content

Instantly share code, notes, and snippets.

@wave-inguane
Last active August 22, 2021 22:09
Show Gist options
  • Save wave-inguane/66defccf93db9382c012c506687e32de to your computer and use it in GitHub Desktop.
Save wave-inguane/66defccf93db9382c012c506687e32de to your computer and use it in GitHub Desktop.
workflow
1. Passing data
workflow.scratchpad.json.property_name = value_goes_here;
2. On Approval Rejected:
Notification Activity
Name: Rejection Notification
To: ${request.requested_for}
Subject: Your requested item ${number} for ${cat_item} has been rejected
Massage:
Click here to view request: ${URI}
<p>
Number: ${number}
Opened: ${opened_at}
Item: ${cat_item}
Quantity: ${quantity}
</p>
<p>
Additional comments:
${comments}
</p>
3. On Approval Rejected - After Notification Activity
Approval Action
Name: Mark Rejected
Stage: Request Cancelled
Action: Mark Rejected
4. End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment