Hi all,
I have been evaluating k2 blackpoint software(trial edition) for sometime. I have made a sample workflow that initiates as soon as a new item in a sharepoint forms library is created. The workflow works fine if the system admin is creating the item, and the task is assigned to K2/System, but if any other user logs in and tries to create a new item, the item is created but the workflow doesnot seems to start properly, it starts and ends immediately saying
"Workflow starts, but with some errors"
The event viewer shows the following error message:
An error has occurred in NewWorkflowActivated_Invoked
Error Details: K2.net Server error occured, System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An error occurred trying to create a new instance of the process. ---> System.Exception: 24408 K2:domainusername from IPAddress does not have rights to Start Process Sharepoint ProjectSharepointProcess
at SourceCode.Workflow.Client.InternalConnection.Call(ArchiveX ar, MessageType msgtype)
at SourceCode.Workflow.Client.InternalConnection.CallFunction(ArchiveX ar)
at SourceCode.Workflow.Client.Connection.CreateProcessInstance(String ProcName, Int32 Version, String Layer)
at SourceCode.Workflow.Client.Connection.CreateProcessInstance(String ProcName)
at SourceCode.Workflow.RuntimeServices.Functions.SharePointServiceFunctions.StartWFIntegrationProcess(String K2Server, String Folio, String MetaDataDetail, String ProcessName, String K2IntegrationDataXml, String ProcessObjectXml, String k2ProcessXML, String ClientUserLogon)
--- End of inner exception stack trace ---
at SourceCode.Workflow.RuntimeServices.Functions.SharePointServiceFunctions.StartWFIntegrationProcess(String K2Server, String Folio, String MetaDataDetail, String ProcessName, String K2IntegrationDataXml, String ProcessObjectXml, String k2ProcessXML, String ClientUserLogon)
at SourceCode.Workflow.RuntimeServices.SharePointService.StartProcess(String k2ServerName, String Folio, String MetaDataDetail, String processName, String k2IntegrationDataXml, String processObjectXml, String k2ProcessXML, String clientUserLogon)
--- End of inner exception stack trace ---
at SourceCode.SharePoint.Workflow.Proxy.K2Runtime.StartProcess(K2IntegrationItem k2IntegrationItem, SPWorkflowActivationProperties Properties)
at SourceCode.SharePoint.Workflow.Proxy.MultipleTasksAndUsers.NewWorkflowActivated_Invoked(Object sender, ExternalDataEventArgs e)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Thanks n Regards
Shobhit Bhatnagar