Tired of having tens of control Recipes in draft generated while developing a new recipe? This article is made for you!
Surely one of the highlights of the 2020 release is the Activity driven workflow capability.
It has been introduced so that Recipe Author can faster and more easily test their recipes than with the classic Design and Execute workflow.
It also allows to now test how recipes with samples and/or input parameters behave by directly executing them from a Task Plan.
Tip: click the Anchor ⚓ sign on the top right of the page to directly access the sub-sections.
About the Activity driven workflow
This workflow works for General, Site and Master recipes.
You will need to make sure you have the permission to publish activities as this is what will allow you to test the recipe. If you're not sure, contact an Administrator.
You won't need however to have someone signing on the recipe to go to the testing stage (as is the case when publishing usual recipes). This will simplify a lot your own testing process.
Other specificities of the activity driven workflow are:
- The activity in draft is visible to the Recipe Author only
- Sample in the Task Plan can be used for execution of the Activity
- Tasks generated can be assigned to other users for testing purposes
Creating a recipe with the Activity-driven workflow
Start by going to Compose and create a new recipe. It can be a General, Site or Master.
Select the Activity Driven Workflow and fill the rest of needed information.
Remember to check the "Execute in Capture Hub" to use New Capture.
Configure your recipe as usual. When the recipe is in at a state where you would like to test it, click Current State and Publish as Activity.Select the Default LifeCycle Policy in the following screen:
Your activity is now available and can be tested in a Task Plan.
Testing and updating the recipe
The author of the recipe can now test it by adding the newly created activity as a task in a Task Plan.
To update the recipe, make modifications in Compose and simply click Save.
To test the updated recipe, you can either:
- add again the activity to the Task Plan
- select an existing task (using this activity) and click Retest.
Releasing the recipe
Once the recipe is tested and satisfying, you will need to publish the activity to lock the recipe version.
- Go to Admin and Settings > Resources > Activity
- Go to the activity page and Submit it (lifecycle button).
- A reviewer can now Approve the activity (lifecycle button).
Once the activity is approved, it is now made available to other users for use and the recipe is locked.
Creating a new version of the recipe
To start a new version of the recipe:
- Go to Admin and Settings > Resources > Activity
- Go to the activity page and Reopen for Edit (lifecycle button).
- Back in Compose, find the new draft version of the recipe and edit it as previously explained.
✒️ If you like this page or if you feel something is missing, feel free to leave a comment down below and tell us what you think !