Skip to main content
All CollectionsTemplatesBasic
Count Number of Executions for Action (Torq) - Workflow Template
Count Number of Executions for Action (Torq) - Workflow Template

Workflow to be used as a nested workflow that will keep track of the number of executions of a given action and maximum executions per day.

Updated over a week ago

This workflow serves as a nested component, tracking the daily execution count of a specific action and limiting it to a predefined maximum. It helps manage and monitor repetitive operational tasks by creating or updating a global counter, ensuring that the action does not exceed its allocated daily usage. This system is ideal for optimizing resource utilization and preventing overuse of specific processes within a business environment. The output reflects the action's current execution count and indicates if the maximum daily executions have been reached.

Use Cases

null

Workflow Breakdown

  1. Setup this workflow as a nested workflow

  2. Provide an action name and maximum number of desired executions

  3. The workflow will then create or update a global variable when executed

  4. The exit of the workflow will provide the number of executions and if the maximum per day was met.

Vendors

Utils, Torq

Workflow Output

The workflow will output the number of executions for the action and if the maximum executions have been met.

Did this answer your question?