Action
Future Creations Date
Steps
-
script
var p = Prompt.create(); p.title = "Date"; p.addDatePicker("dtCreated", "Created At", draft.createdAt , { "mode": "dateAndTime" }); p.addButton("OK"); var didSelect = p.show(); var startDate = p.fieldValues["dtCreated"]; if (p.buttonPressed == "OK") { draft.createdAt = startDate; draft.update(); }
Options
-
After Success Default Notification Error Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.