locked
A Windows Workflow Foundation workflow failed during execution RRS feed

  • Question

  • Needed to know if there was some way to identify what the workflow was that is causing this error? I see this: "Workflow Identifier: 0cb64340-3a44-009e-67af-70963215b839" just not sure what SMLet I can use to see what this corresponds too.

    Log Name:      Operations Manager
    Source:        Health Service Modules
    Date:          1/2/2013 1:56:56 PM
    Event ID:      33880
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      scsm
    Description:
    A Windows Workflow Foundation workflow failed during execution.
     
    Workflow Type: Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow

    Workflow Identifier: 0cb64340-3a44-009e-67af-70963215b839

    Exception Type: Microsoft.EnterpriseManagement.Common.ObjectNotFoundException

    Exception Message: An object of class ManagementPackRelationship with ID 6ec982d4-207f-da19-3bc9-e6d2ff7b067e was not found.

    Exception Stack:    at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.Get[T](Guid id)
       at Microsoft.EnterpriseManagement.EntityTypeManagement.GetRelationshipClass(Guid id)
       at Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow.prepareNotificationActivity_ExecuteCode(Object sender, EventArgs e)
       at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
       at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
       at System.Workflow.Runtime.Scheduler.Run()
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Health Service Modules" />
        <EventID Qualifiers="49152">33880</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-02T19:56:56.000000000Z" />
        <EventRecordID>1098867</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>scsm</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow</Data>
        <Data>0cb64340-3a44-009e-67af-70963215b839</Data>
        <Data>Microsoft.EnterpriseManagement.Common.ObjectNotFoundException</Data>
        <Data>An object of class ManagementPackRelationship with ID 6ec982d4-207f-da19-3bc9-e6d2ff7b067e was not found.</Data>
        <Data>   at Microsoft.EnterpriseManagement.Configuration.TypeSpaceCache.Get[T](Guid id)
       at Microsoft.EnterpriseManagement.EntityTypeManagement.GetRelationshipClass(Guid id)
       at Microsoft.EnterpriseManagement.WorkflowFoundation.ConfigurationWorkflow.prepareNotificationActivity_ExecuteCode(Object sender, EventArgs e)
       at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
       at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
       at System.Workflow.Runtime.Scheduler.Run()</Data>
      </EventData>
    </Event>


    Help

    Wednesday, January 2, 2013 8:14 PM

All replies

  • Hey

    Maybe something like this --> Get-SCSMWorkflow.ps1 | where{$_.id -eq "0cb64340-3a44-009e-67af-70963215b839"} | fl

    Cheers
    Marcel


    SCSMfaq // Blog --> http://blog.scsmfaq.ch // Twitter --> #scsmfaq // Business --> http://www.itnetx.ch

    Thursday, January 3, 2013 4:31 PM
  • Everytime I run it I get nothing.

    Tried using the workflow identifier: 0cb64340-3a44-009e-67af-70963215b839 and tried this number as well: 6ec982d4-207f-da19-3bc9-e6d2ff7b067e

    Both just take me to the prompt with no info.

    EVENT ID 33880 Health Service Modules is the event title.


    Help

    Thursday, January 3, 2013 5:48 PM
  • Sorry Marcel but would you have any other ideas on what I could try? Your assistance is appreciated.


    Help

    Tuesday, January 8, 2013 1:01 PM
  • I believe you need smlets for this. So try installing smlets, import the module, then try Marcels suggestion again. When I import smlets I can type Get-SCSMW and hit tab, then the "Get-SCSMWorkflow.ps1" script pops up.
    Monday, June 23, 2014 9:10 AM