Using Events to back up your files
Events in Alteryx Designer is a very handy functionality that allows us to execute external commands or send notifications via email, based on certain workflow execution conditions.
The conditions for when you can run an event (external command, script, etc.) or send emails are as follows:
- Before running the workflow
- After running the workflow
- After executing the workflow when there were errors
- After executing the workflow when there were no errors in its execution
These conditions are shown in the following figure:
Figure 14.101: Conditions available to run events
In this recipe, we will see how to use workflow events to make a backup of our files before executing a workflow.
Getting ready
We prepared a test example for you to follow along with this recipe. You can download it here: https://github.com/PacktPublishing/Alteryx-Designer-Cookbook.
As we did in the first recipe in Chapter...