Hello
I have looked all over but cannot find the answer to this!
We have a site workflow that creates a new item in 5 lists. In each of these lists there is a workflow when a new item is created in a list the workflow will query the list items, get their ID's in a variable (I have checked and it selects the correct ids) use a for each action on these ID's calling the web service http:// site collection/sites/_vti_bin/NintexWorkflow/Workflow.asmx using a domain service account with full permissions on the entire site collection to start a different workflow on the item which just updates some fields depending on the date. This is ran once a day at 7am
Every morning I come into work with error message emails from Nintex -
The "Name of workflow to iterate through the list items" workflow has ended unexpectedly for "title".
Workflow "Name of workflow" was cancelled by System Account.
Click here to view the workflow status.
And
The "Update fields" workflow has ended unexpectedly for "Title".
"Update fields" failed to start.
Click here to view the workflow status.
If i try to click view workflow status on either error I get Cannot find history for workflow with instanceId f300fd64-55fe-490a-819b-ac472baed7b0. It may have been removed from the database
Here is the odd bit, they only error on the first item in the list, the workflows work fine on the rest of the list items but the first list item in each list just says failed on start
in workflow history it says 2 events happened
- event - Workflow cancelled
- User ID - System account ( the initiator is not system account!)
- description - workflow "name of workflow" was cancelled by system account
- event - Error
- User ID - System account ( the initiator is not system account!)
- description - "name of workflow" Failed to start
If I run this initial site workflow after I have come into work I do not receive any errors at all, no matter how many times I run it to create these new items in the lists.
checked the logs and found this
09/06/2013 07:00:22.21 OWSTIMER.EXE (0x2670) 0x216C SharePoint Foundation Workflow Infrastructure 72fv Unexpected AutoStart Workflow: Microsoft.SharePoint.SPException: Recursive workflows are not permitted. at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite
maybe it is something to do with the execution time high-
Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver)). Execution Time=38102.1796
We are running SharePoint 2010 (2 Frontend Web Servers) and Nintex Workflow 2010 (2.3.10.0)
If anyone has any ideas please can you let us know
Thanks
Jamie