Action

Archive Draft

Posted by @edgauthier, Last update almost 2 years ago

Move draft between Archive and Inbox

Steps

  • script

    // Drafts - Archive
    // move draft between Archive and Inbox
    draft.isArchived = !draft.isArchived;
    draft.update();
    app.displayInfoMessage(draft.isArchived
    	? "Moved to Archive" 
    	: "Moved to Inbox");

Options

  • After Success Nothing
    Notification Error
    Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.