Today, created a Nintex workflow to send out E-mail notification to SharePoint groups. Start-up option for the workflow was: "Start when Items are created", but in SharePoint 2007 incoming email didn't trigger the workflow on new item creation.
Incoming E-mail attachments are uploaded to SharePoint libraries using "System Account" (If E-mail settings are set to: "Accept e-mail messages from any sender") which will not trigger workflows by design!
What's the Fix for SharePoint workflow not starting on incoming email?
Well, the fix is simple! Just execute this STSADM command line:
stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true
This fix applies to MOSS 2007 and SharePoint 2010 for incoming email to start workflow. Same fix applies to SharePoint designer workflows also! SharePoint incoming email doesn't trigger workflow by default, It works after the fix.
By default, starting a workflow through incoming email is not enabled. This PowerShell script enables workflow to started automatically when a new item is created.
$SPWebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $SPWebService.DeclarativeWorkflowAutoStartOnEmailEnabled = $true $SPWebService.Update()
KB articles addressing this issue: http://support.microsoft.com/kb/953289, http://support.microsoft.com/kb/947284/en-us
You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.