Drafts Action Directory

Archive Draft

Posted by @edgauthier, Last update 4 months ago

Move draft between Archive and Inbox

Install

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

Comments

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.