Action
Load Last Modified Draft
Steps
-
script
let allDrafts = Draft.query("", "all", []); allDrafts = allDrafts.sort(function(draftA, draftB) { return draftB.modifiedAt - draftA.modifiedAt }); editor.load(allDrafts[0]);
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.