Hi All,

 

I'm having a few problems getting some SharePoint workflows going. I am
using VS 2008, and started out trying to build a simple sequential workflow
so I can get more familiar with coding under the WF / SharePoint model, but
have run into what I think are a couple of problems, one of which I think
I'm on top of, another which I'm not.

 

The workflow is on an e-mail enabled document library, and the e-mails that
come into the library have a unique subject line, but a subject line that
contains colon characters. For example the original e-mail that generated
the following entries had a subject line of "InboundRequest/IDX:13455242 -
ID:1A10E6014CE4FF23CA257412000504B9". Interestingly the first colon seems to
have been replaced with a space, but the second colon in the subject line
appears to have been simply dropped.

 

03/27/2008 12:19:44.71     OWSTIMER.EXE (0x07AC)                      0x0C80
Windows SharePoint Services     General                         8kh7 High
There is no file with URL 'InboundRequest/IDX 13455242 -
ID1A10E6014CE4FF23CA257412000504B9' in this Web.     

03/27/2008 12:19:44.87     OWSTIMER.EXE (0x07AC)                      0x0C80
Windows SharePoint Services     Workflow Infrastructure         72fv
Unexpected AutoStart Workflow: System.ArgumentException: Value does not fall
within the expected range.     at Microsoft.SharePoint.SPWeb.GetFile(String
strUrl)     at
Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWork
flow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange,
AssocType atyp)         

 

Can someone confirm that my supposition that the colons are the problem here
is correct?

 

I am now pre-processing the e-mails to ensure the colons are no longer
present in the subject line, but now I'm getting entries in the log like the
following:

 

03/31/2008 15:43:10.70     OWSTIMER.EXE (0x08EC)                      0x0F68
Windows SharePoint Services     Workflow Infrastructure         72fv
Unexpected AutoStart Workflow: System.ArgumentException: New instances of
this workflow template are currently disallowed.     at
Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(SPListItem
item, SPFile file, SPWorkflowAssociation association, SPWorkflowEvent
startEvent, Boolean bAutoStart, Boolean bCreateOnly)     at
Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWork
flow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange,
AssocType atyp)   

 

Any suggestions gratefully accepted. Have I mis-configured the workflow in
some way?

 

Kind Regards,

Trevor

 




------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com

Reply via email to