Action
Toggle flag
Steps
-
script
//TOGGLE FLAG var d = draft.content; var toggleStatus = draft.isFlagged; if (toggleStatus == true) { draft.isFlagged = false; var message = "Un-Flagged"; } else { draft.isFlagged = true; var message = "Flagged"; } draft.update(); var status = app.displaySuccessMessage(message);
Options
-
After Success Nothing Notification Error Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.