Once your app routine is published, and only when your app routine is published, you will have the option to create a new draft from the More Actions button.
Drafts allow you to create multiple revisions of your app routine, however, you cannot change the inputs or the outputs when creating a new revision of an app routine. You will need to create a new copy of the app routine if you wish to change the inputs / outputs.
Create a New App Routine Revision
Once your app routine is published, you will have the option to create a new draft from the More Actions button on the App Routine's settings page:
When you select the Create Draft option, you will be immediately taken to your new draft where you have the option to Edit draft Actions:
You can also preview the published actions of the live version from here as well. Remember, you cannot change the inputs or the outputs when creating a new revision of an app routine. You will need to create a new copy of the app routine if you wish to change the inputs / outputs.
Once you have finished modifying the actions for this new revision, the More Actions button has one more option to choose:
This allows you to delete the draft you just created. By the way, you cannot delete an app routine. You can only set it to inactive by selecting the edit button.
You can also publish and delete a draft by in the Revisions page when you See All Revisions:
Once you publish your new draft, the previous revision will be set to an archived status. If you were to make more drafts and publish them, you will be able to switch between any archived version.
Scheduling an App Routine
App Routines can also be set to repeatedly run based on a schedule you set.
The More Actions button has an option to set a Schedule for the App Routine.
This will take you to a screen where you can set up the schedule for the app routine.
When a schedule is set, the app routine will run between 3:00AM ET and 5:00AM ET on the scheduled day. You can choose from the following schedules:
- Every Weekday
- Weekly on a particular day of the week
You can also set the input for the app routine, however, you cannot set an expected output result.
When you save the schedule, you will be able to view this from the App Routine List for your app.
As you can see from the above image, the My Routine has a calendar icon beside it and when you hover over it, how often it will run is shown.