Tuesday, December 14, 2010

Nintex and SharePoint Workflows Not Starting

Another one of those crazy days today where I got stuck with this awful issue. I had a Nintex workflow on a SharePoint document library. The document library was set up to receive incoming emails. The workflow must kick off when the item is created in the document library triggered by the incoming email.

The problem was that the workflow was not starting. If I uploaded a document into the document library manually, the workflow would then successfully kick off.


Ensure that the worklow is saved and published with a site collection owner other than SharePoint\System.
The following stsadm command must also be run:

stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true

This will ensure that the workflow is created by the account that created the item(sender of email in my case).


kemirau said...

I'm experienced problem just like you did. could you tell me how can I check the collection owner ?

I've tried to published the simple workflow with other than sharepoint system account and run the stsadm command. but the email still didn't trigger the workflow.

any comments is appreciated. thanks!

Hassan Mia Salie said...

Hi Kemirau,

Navigate to your site collection and click on Site Action and then select Site Settings. Under Users and Permissions, click on People and groups.Now o the left navigation bar, below the Groups section, click on the More... link.

You are now presented with all the Users and Groups in this list. The Site Collection Owners group is the one that has the site collection's title and the word Owners in it. e.g. HR Owners. Make sure you use a user from this group other than System Account to publish your workflows.

Also ensure that you have run the stsadm command that I have mentioned in the post.