Creating your own execution metadata
When you deploy a solution based on a workflow (or workflows), it becomes very important to keep track of the executions. Alteryx Designer allows us, through the Email tool (or through Events), to access the execution log of a workflow through internal variables. The only drawback I find in this functionality is that we do not have direct access to the execution log until the workflow finishes executing, making it impossible to read and parse it at runtime in the same workflow.
Therefore, to carry out basic monitoring of the execution of our workflows, we will generate certain indicators that will later be saved in a proprietary log and will allow us to easily determine how our workflow is behaving on every execution.
These indicators are the following:
- Workflow name
- Number of records read
- Number of records saved
- Execution date and time
- Read data source name
- Workflow execution time
Getting ready
You can...