Crow Canyon Software Forum
Workflow stopped firing
Quote from jacobk on February 25, 2021, 5:50 pmI have a list with a Nitro Workflow wired for Item Created Event. But it is not triggering any more. It used to kick off in the past. Anything I can check to see why? I have verified that the conditions in the workflow should not prevent the workflow from running.
I have a list with a Nitro Workflow wired for Item Created Event. But it is not triggering any more. It used to kick off in the past. Anything I can check to see why? I have verified that the conditions in the workflow should not prevent the workflow from running.
Quote from Pavan Kumar on February 26, 2021, 9:17 amHi Jacob,
How is the item created in the list?
If the item is created by another NITRO Workflow, then NITRO Workflow won't process that item. We have this feature to eliminate possible infinite loop of executions. If we want to force execute the item created by another Workflow, please enable "Process this workflow for items created, modified, or deleted by automated processes' option in NITRO Workflow setting.
If the item is created by user, and still not working we can debug the issue using NITRO Workflow logs. Please edit the workflow and check "Enable execution history" checkbox available under 'Workflow execution history settings", not the history name in the Select history list dropdown and save. Reproduce the issue, go to the history list and check the logs.
Hi Jacob,
How is the item created in the list?
If the item is created by another NITRO Workflow, then NITRO Workflow won't process that item. We have this feature to eliminate possible infinite loop of executions. If we want to force execute the item created by another Workflow, please enable "Process this workflow for items created, modified, or deleted by automated processes' option in NITRO Workflow setting.
If the item is created by user, and still not working we can debug the issue using NITRO Workflow logs. Please edit the workflow and check "Enable execution history" checkbox available under 'Workflow execution history settings", not the history name in the Select history list dropdown and save. Reproduce the issue, go to the history list and check the logs.
Quote from Prakash Arya on February 26, 2021, 2:17 pmFew more things to help narrow-down the issue:
- Are workflows firing on other lists?
- Are there any other workflows on same list? If yes, are they working?
- Is there any list column that is used in conditions or column mappings etc. and is deleted from list? This can cause the workflow execution to fail
- Is list having too many items (more than list view threshold, 5000 in SP Online)?
- Normally workflows can keep working beyond this limit, but in some specific cases this can cause the issues. For example, if we run a query list action in workflow and that is referring a list with query using non-indexed columns, the query will fail
- Info on managing list view threshold: https://www.crowcanyon.com/wp-content/themes/CCS/custom/pdf/managing-list-view-threshold.pdf
- Has this workflow been fired too many times in very short interval of time? This can happen if some automated process is creating/updating list items. Workflows have built in monitoring to disable in such instances
- What action is this workflow supposed to take?
- Send an email? May be emails are blocked as they are sent from SendGrid. Refer this article for more on mail flow: https://www.crowcanyon.help/article/349/
- Update same item? Check version history of the item to see if there is an empty update. You can enable version history on list if it is not already from advanced settings section in list settings
- We can resave the workflow to catch any configuration errors and to ensure that events are setup correctly on the list. If this does not help then best bet is to enable logs as mentioned in above post
Few more things to help narrow-down the issue:
- Are workflows firing on other lists?
- Are there any other workflows on same list? If yes, are they working?
- Is there any list column that is used in conditions or column mappings etc. and is deleted from list? This can cause the workflow execution to fail
- Is list having too many items (more than list view threshold, 5000 in SP Online)?
- Normally workflows can keep working beyond this limit, but in some specific cases this can cause the issues. For example, if we run a query list action in workflow and that is referring a list with query using non-indexed columns, the query will fail
- Info on managing list view threshold: https://www.crowcanyon.com/wp-content/themes/CCS/custom/pdf/managing-list-view-threshold.pdf
- Has this workflow been fired too many times in very short interval of time? This can happen if some automated process is creating/updating list items. Workflows have built in monitoring to disable in such instances
- What action is this workflow supposed to take?
- Send an email? May be emails are blocked as they are sent from SendGrid. Refer this article for more on mail flow: https://www.crowcanyon.help/article/349/
- Update same item? Check version history of the item to see if there is an empty update. You can enable version history on list if it is not already from advanced settings section in list settings
- We can resave the workflow to catch any configuration errors and to ensure that events are setup correctly on the list. If this does not help then best bet is to enable logs as mentioned in above post