I am trying to update a resource via workflow and get an error every time I try (yet the data goes in the DB). Right now I am just doing some testing so it looks like this:
- Start
- Create SMP Credentials
- Get Resource with Name
- fetch additional data (this seems redundant since the data classes are specified in step 3)
- single value mapping into a custom data class
- Save resource
This seems like it should work and sort of does but I would like it to work without the error. From the logs:
ErrorMessage = "Exception has been thrown by the target of an invocation."
LastComponent = "Save Resource for SMP"
ModelID = "2eee6534-dff2-11e1-abcb-402cf48b85c5"
NetworkDeviceRecord = AltirisOutput7.NetworkDevice
StackTrace = " at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Symantec.Workflow.Components.Resource.SaveResourceNS7Component.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)"
Any help would be appreciated.