Video Screencast Help

Workflow: Save Barcode to Asset

Created: 18 Mar 2013 • Updated: 18 Mar 2013 | 2 comments
This issue has been solved. See solution.

What compenent would let me save a value to a NS record? I am trying to save the barcode value to an existing record in the NS. I tried to use SaveResourceNS7Componenet but I keep getting the following error when it hits it:

Error Message: Exception has been thrown by the target of an invocation. Error Stack Trace: at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& 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)

Operating Systems:

Comments 2 CommentsJump to latest comment

reecardo's picture

A few guesses:

1. You don't have a Create SMP Credentials component in your flow before using this component

1. The NSWebService solution is not installed on your SMP. If it is, then

2. The generated Resource library you have one your machine does not contain a "SaveAsset" method. If you have an SMP with Asset installed, you can regenerate your Resourc elibrary to pick up this method.

noodleNT's picture

Nope, Nope and Nope. I have all that stuff and I am using it with other NS tasks. However, I did find another way to do it. There is a component called "Set Barcode For Asset" under CMDB. That worked like a charm.

SOLUTION