Whever I try to create a project using workflow error occurs Operation still in progress.

คำถาม Whever I try to create a project using workflow error occurs Operation still in progress.

  • Friday, 22 July 2011 7:24 AM
     
     

    The Create operation has been queued, but is taking longer than expected to process.

    To check the status of the creation queue job, visit the My Queue Jobs page. Once the job has completed, the new RIL BEPCO Projects will be listed in the Project Center.

    Click OK to close the project and return to Project Center.

    What to do ,in error log its workflow cannot started is there any specufic solution for this behavior.


    Nur Mondal

All Replies

  • Friday, 22 July 2011 8:46 AM
    Moderator
     
     

    Hi,

    Is this a workflow you have created in VS2010 or a solution starter workflow? It sounds like you may have an error in your code if it's the former.

     


    Alex Burton
    www.epmsource.com | Twitter
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
  • Friday, 22 July 2011 8:49 AM
     
     
    Hello Nur,

    Is this a custom workflow by which you are trying to create a Project or OOB Workflow? Is your Project Server queue Service/Event service responding?
    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
  • Friday, 22 July 2011 9:11 AM
     
     

    hi,

    I am using solution starter DYnamic workflow its a very simple workflow.

    And yes my Project server queue/event is running no problem.

    Sometimes I am able to create create project but most of the time sam error occurs.


    Nur Mondal
  • Friday, 22 July 2011 10:45 AM
    Moderator
     
     

    Hi,

    Can you check your ULS logs specifically any unexpected errors for Workflow Infrastructure? I have tried this on one of my demo images and think I have reprod what you are seeing.

     


    Alex Burton
    www.epmsource.com | Twitter
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
  • Friday, 22 July 2011 11:54 AM
     
     

    Nur,

    Did you downlaod the 7/21 version (latest one) & are you trying with that?
    Check if that is useful for you:
    http://social.technet.microsoft.com/Forums/en/project2010custprog/thread/fd0e20ff-1ffe-4678-9f5e-21215f69f7b3

     


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
  • Friday, 22 July 2011 12:25 PM
     
     

    hi Amit,

    Yes i am using the latest one,I have faced this problem many time even for sample proposal plan also.

    Following is error statement
    General
    • Exception Starting Workflow: Object reference not set to an instance of an object.. Trace: at Microsoft.SharePoint.SPList.PrepForWorkflowTemplate(SPWorkflowTemplate wt) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowManager.<>c__DisplayClass11.<StartWorkflow>b__10(SPSite superUserSite, SPWeb superUserWeb) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflow(Object context, SPWorkflowAssociation association, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOpts) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflow(Object context, SPWorkflowAssociation association, String eventData, SPWorkflowRunOptions runOptions) at Microsoft.Office.Project.Server.BusinessLayer.Workflow.<>c__DisplayClass36.<StartWorkflow>b__33() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Microsoft.Office.Project.Server.BusinessLayer.Workflow.StartWorkflow(Guid projectGuid, Guid enterpriseProjectTypeUid, Boolean isNewProject, Guid previousEntepriseProjectTypeUid, Boolean skipStage, Guid stageToSkipTo):
      • WorkflowExceptionStartingWorkflow (35115). Details: id='35115' name='WorkflowExceptionStartingWorkflow' uid='1f6eeaab-4849-4f32-8482-9c97bd4f45c0'.
    • Error:
      • WorkflowCannotStartWorkflow (35100). Details: id='35100' name='WorkflowCannotStartWorkflow' uid='f9ccc29d-a66d-4583-8fc2-9cf94ecbb764'.
    • Queue:
      • GeneralQueueJobFailed (26000) - WorkflowStartWorkflow.WorkflowStartWorkflowMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='5dec7608-aa19-4ef9-a7af-9c2007e6a9f8' JobUID='93dbb75e-688c-4864-abca-7e982e753590' ComputerName='SIIDCMSPRO01' GroupType='WorkflowStartWorkflow' MessageType='WorkflowStartWorkflowMessage' MessageId='1' Stage=''. For more details, check the ULS logs on machine SIIDCMSPRO01 for entries with JobUID 93dbb75e-688c-4864-abca-7e982e753590.


    Nur Mondal
  • Friday, 22 July 2011 12:34 PM
     
     

    Hello Nur,

    1. You may have to go into Central Admin, to verify that workflow is enabled.   Also, the site settings for PWA, will show if workflow is enabled.
    2.  If You rebuild the workflow project and after deploy it into the server, workflow detaches from the enterprise project. As a result , You will get the error WorkflowCannotStartWorkflow . Try the below steps

    • select PWA>SITE SETTINGS >WORKFLOW SETTINGS
    • select 'Remove a workflow' - that select a workflow You have problems with and remove it
    • select 'Add a workflow', and from the liest select Your workflow, name it press 'OK'
    • select Project Web APP / Server Settings/Enterprise Project Types
    • Select Your Enterprise Project Type
    • From the list select name of the workflow (list Site Workflow Association)
    • Save the selection.

    Hope that helps

     


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
  • Saturday, 23 July 2011 6:10 AM
     
     

    hi Amit,

    Please tell me where i have to enable workflow in central admiln.are u suggesting to check sysytem setting->farm solution

    It is already succesfully deployed.


    Nur Mondal
  • Sunday, 23 October 2011 7:05 PM
     
     
    Hi Were you ever able to sort this out? I just moved this from a environment that was working brilliantly, and now I am getting the same error. I've downloaded the latest version, and deployed it, but no difference.
  • Friday, 29 June 2012 10:51 PM
     
     
    We are having this same issue, has anyone figured this out yet? I think we are just looking at a rebuild of the environment.
  • Friday, 18 January 2013 2:33 PM
     
     

    I had the same problema with Dynamic Workflow, but it was simple to resolve.

    In my case I've created the workflow with a single stage (just to test) and got this error. Then I just added another stage to it and was able to create a project using the workflow with success.

    I hope this helps.