Skip to content

WorkflowManager could not deserialize XOML definition #118

@JayVDZ

Description

@JayVDZ

In an environment that has used MIMWAL before, but had it's custom workflows removed: when creating a new dead basic Update Resources workflow, upon execution, it fails with the following Event Log entries:

Unable to create new WorkflowInstance for WorkflowDefinition...

WorkflowValidationFailedException: The workflow failed validation

WorkflowManager could not deserialize XOML definition: ...

347 : : Invalid data found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.SequentialWorkflow'.

The workflow is:

DisplayName: Step One
Value Expression: "DummyValue"
Target: [//Target/Description]
Allow Null: True

Have also tried using a standard Function Evaluator activity instead, and that works, so it appears just be related to MIMWAL activities.

Environment:

  • MIM Version 4.6.540.0
  • MIMWAL 2.20.723.0
  • Windows Server 2012 R2
  • SharePoint 2016
  • Single node active. Others turned off

Diagnostics Performed:

  • Tried creating a MIMWAL Add Delay workflow as well, this also fails as above
  • MIMWAL upgraded to version 2.20.723.0 on all nodes
  • Old MIMWAL dlls uninstalled from the GAC
  • Service config file checked for correct binding redirects and public key tokens
  • Tried editing XOML and replacing 4.0.0.0 version references with 3.5.0.0 as one article suggested
  • Rebooted server
  • Threw hands up in the air and swore a few times

Any ideas? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions