Workflows in Arigato can be prioritized to suit your business needs. For example, running a scheduled workflow first could be mission critical where a tagging workflow might not be a high priority and can run after the schedule.
Setting Workflow Priority
- Hover on the 3 dots menu in the top right corner of any workflow, next to the workflow title.
- Click on Settings
- Scroll to the bottom of the page and click on the Workflow Priority dropdown.
- Adjust the Workflow Priority to your preference.
Note, the setting is relative to your other workflows. Setting all workflows to the same setting will not improve performance. Prioritization does not entirely prevent low-priority workflows from running. Instead, lower priority workflows simply run less frequently than higher priority workflows.
For example, let's assume your store has two workflows, one with an Urgent workflow priority and another with a Normal workflow priority. The Urgent workflow might run 5 times more often than a Normal priority workflow, but both are still "running". While the Urgent workflow has a task backlog, the Normal workflow runs less often. Once the Urgent workflow's backlog of tasks is cleared, the Normal priority workflow's tasks would start running as fast as possible.
Priority Setting For Schedules
Since schedules are likely to be time-sensitive, we highly recommend adjusting scheduled workflows to run at a higher priority than other workflows.
Queue Backlog Management
Changing workflow priority settings will impact any items currently queued as well as future items that are processed after the setting changes. This allows merchants and developers to manage workflow processing as needs change. For example, you may want a product management workflow to run quickly today to process a bulk update but tomorrow that workflow is less important. As needs change day to day, workflow priorities can be adjusted as well.