none
Unable to create new WorkflowInstance for WorkflowDefinition while creating shared mailbox RRS feed

  • Question

  • Hi all,

    while im trying to create shared amilbox using FIM portal im getting below error.

    EXCEPTION DATA
    MESSAGE: Unable to create new WorkflowInstance for WorkflowDefinition 'XXXXXXXXXXXXXXXXXXXXXXXX'.
    METHOD:System.Exception ThrowException(System.Exception)
    METHOD:Void StartWorkflowInstance(System.Guid, System.Collections.Generic.KeyValuePair`2[System.String,System.Object][])
    INNER EXCEPTION DATA
    MESSAGE: The workflow failed validation.
    METHOD:Void ValidateDefinition(System.Workflow.ComponentModel.Activity, Boolean, System.Workflow.ComponentModel.Compiler.ITypeProvider)
    METHOD:System.Workflow.ComponentModel.Activity LoadRootActivity(System.String, System.String, Byte[], Boolean, Boolean)
    METHOD:System.Workflow.ComponentModel.Activity GetOrGenerateDefinition(System.Type, System.String, System.String, Byte[], Boolean, Boolean ByRef)
    METHOD:System.Workflow.ComponentModel.Activity GetRootActivity(System.String, System.String, Boolean, Boolean)
    METHOD:System.Workflow.ComponentModel.Activity InitializeExecutor(System.Guid, System.Workflow.Runtime.CreationContext, System.Workflow.Runtime.WorkflowExecutor, System.Workflow.Runtime.WorkflowInstance)
    METHOD:System.Workflow.Runtime.WorkflowExecutor Load(System.Guid, System.Workflow.Runtime.CreationContext, System.Workflow.Runtime.WorkflowInstance)
    METHOD:System.Workflow.Runtime.WorkflowExecutor GetWorkflowExecutor(System.Guid, System.Workflow.Runtime.CreationContext)
    METHOD:System.Workflow.Runtime.WorkflowInstance InternalCreateWorkflow(System.Workflow.Runtime.CreationContext, System.Guid)
    METHOD:System.Workflow.Runtime.WorkflowInstance CreateWorkflow(System.Xml.XmlReader, System.Xml.XmlReader, System.Collections.Generic.Dictionary`2[System.String,System.Object], System.Guid)
    METHOD:Void StartWorkflowInstance(System.Guid, System.Collections.Generic.KeyValuePair`2[System.String,System.Object][])

    Can anybody help please

    Wednesday, March 2, 2016 5:10 PM

All replies

  • There isn't really anything to go on here - can you attach the XOML for the workflow that is failing perhaps?  Is the 'XXXXXXXXXXXXXXXXXXXXXXXX' string exactly what is in the error message or are you masking something?

    Bob Bradley (FIMBob @ TheFIMTeam.com) ... now using FIM Event Broker for just-in-time delivery of FIM 2010 policy via the sync engine, and continuous compliance for FIM

    Thursday, March 3, 2016 1:18 PM
  • Hi ,

    UNIFYBob Thanks for your reply.It would be difficult to attach XOML cos its 6 page long.'XXXXXXXXXXXXXXXXXXXXXXXX' string is nothing maksing of resource id. Thats resource id of workflow. Initial value creation for shared mailbox.

    Thanks,Venky

    Thursday, March 3, 2016 5:55 PM
  • Workflow was corrupted so we created new workflow and added all tasks as is and it started working
    Thursday, April 14, 2016 9:51 PM