Call activity does not execute when started from Automatically start this workflow


I created an assembly to parse an email address, and referenced it through the Call activity. It works fine when I manually start the workflow. But, it returns nothing when it is started automatically when a new item is created. I thought it might be because these new items are started by incoming emails, so I ran the STSADM command to correct that...
stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true
That did not work. I tried creating a new item from the New menu. The workflow executed, but the Call activity returned nothing. My assembly has the code encased in a Try-Catch block, and would return "Got Nothing" if any part of the method failed. But it does not even return that. So I believe this Call action is not executing at all.
Is there something that needs to be done to get this action working when automatically started?
Don Badowski


DonQ wrote Mar 1, 2011 at 3:58 PM

Got this from the logs. Why would this be a recursive?

AutoStart Workflow: Microsoft.SharePoint.SPException: Recursive workflows are not permitted. at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp)

wrote Feb 13, 2013 at 12:34 AM