Quantcast
Channel: Nintex Connect: Unanswered Threads
Viewing all articles
Browse latest Browse all 2462

BUG: Start worflow asynchronous with "Commit pending changes". Worflow actions work out a few times

$
0
0

Hello,

If start this workflow:

with this code, in ItemAdded method:

var workflowAssociation = list.WorkflowAssociations.Cast<SPWorkflowAssociation>().FirstOrDefault(wf => wf.Name == "mywf");
site.WorkflowManager.StartWorkflow(item, workflowAssociation, workflowAssociation.AssociationData, SPWorkflowRunOptions.Asynchronous);

then, the workflow actions will work out a few times. Workflow history will look like this (actions work out 4 times):


Date Occurred  Event Type    User ID    Description
 5/12/2013 5:32 PM  Comment     START 
 5/12/2013 5:32 PM  Comment  System Account  Waiting on Title
 5/12/2013 5:32 PM  Comment     START 
 5/12/2013 5:32 PM  Comment  System Account  Waiting on Title
 5/12/2013 5:32 PM  Comment     START 
 5/12/2013 5:32 PM  Comment  System Account  Waiting on Title
 5/12/2013 5:32 PM  Comment     START 
 5/12/2013 5:32 PM  Comment  System Account  Waiting on Title
 

How to resolve this?


Viewing all articles
Browse latest Browse all 2462

Trending Articles