Columbus Endpoint Management User Group

 View Only
  • 1.  Error in Incident Creation Decision Only workflow

    Posted Nov 13, 2013 09:46 AM

    I have a very basic Decision Only workflow that will allow me to create Service Desk 7.1 incidents through a web service call.  I have other workflows that are creating incidents with no problems.  This works fine in debug mode and actually creates the incident, but fails whenever I publish it and run it either through the URL or a job/task in the SMP console.  Most of the items in this workflow are a simple copy/paste from other existing workflows that I created.

    Any help is much appreciated.  I saw this same error message in a post from a couple of years ago, but no solution was provided.  Hopefully someone can answer this for me.

    System.TypeLoadException: Method 'PrepareTemplateContext' in type 'SD.NSEvents.NSEServiceDeskIncidentToAsset' from assembly 'SD.NSEvents, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

       at System.Reflection.Assembly._GetExportedTypes()

      at LogicBase.Core.Utilities.ComponentClassHandler.UpdateDataHandlerIndex()

       at LogicBase.Core.Utilities.ComponentClassHandler.GetHandlerForType(Type dataType)

       at LogicBase.Core.Data.OrchestrationData.RootSetValue(String name, Object value)

       at LogicBase.Core.Data.OrchestrationData.SetValue(String name, Object value)

       at LogicBase.Core.ExecutionEngine.TLExecutionContext.get_GlobalStorageData()

       at LogicBase.Core.ExecutionEngine.TLExecutionContext.set_TestingScenario(TestingScenario value)

       at LogicBase.Core.Models.Decision.DecisionExecutionEngine.StartInternal(IData data, IOrchestrationComponent initialComponent, TestingScenario testingScenario, String testRunId)

       at LogicBase.Core.Models.Decision.DecisionRuntime.Start(IData data)

       at Default.Create30DayIncident.Execute(String AssetGuid, String AssetSerialNumber, String IncidentDescription, String EffectedUserEmail, String SubmittingContactEmail, String Urgency, String Priority, String IncidentName, String AssetType, String UserDisplayName, String EffectedUserUsername, String AssetLocation)

     

    30dayincident_workflow.jpg

     

     

     



  • 2.  RE: Error in Incident Creation Decision Only workflow

    Posted Nov 14, 2013 07:41 AM

    From above, it looks like you have an out-of-date copy of SD.NSEvents



  • 3.  RE: Error in Incident Creation Decision Only workflow

    Posted Nov 14, 2013 08:12 AM

    I checked on my SD server and tried all instances of the that DLL and there is no change.  If it was a problem with the DLL, why would it work properly in debug mode?



  • 4.  RE: Error in Incident Creation Decision Only workflow

    Posted Nov 14, 2013 08:58 AM

    Is the server you're running in debug different from the server you're publishing to? If so, you need to copy the DLL from your local debug server over to the remote server.



  • 5.  RE: Error in Incident Creation Decision Only workflow

    Posted Nov 14, 2013 09:00 AM

    Nope it is the same server, a dedicated Workflow server.



  • 6.  RE: Error in Incident Creation Decision Only workflow

    Posted Nov 14, 2013 10:25 AM

    Check the project properties of your project... if you're on the same machine, I'd direct the project to use the DLL in customlib (in the workflow install folder). My guess at whats happening is the project is pointing to the DLL in a project \bin folder and they are out-of-sync.



  • 7.  RE: Error in Incident Creation Decision Only workflow

    Posted Nov 14, 2013 10:38 AM

    Is this where you are talking about?  If so, this is how it was set originally, before I tried different versions of the dll.

     

    30dayincident_library.jpg