When using the Get Resource with Name for SMP component, an error occurs stating the component declares that it outputs an array but does not

book

Article ID: 158580

calendar_today

Updated On:

Products

Workflow Solution ServiceDesk

Issue/Introduction

When creating a workflow that uses the Get Resource with Name for SMP component, the variable that is output by the component is unusable. Using the variable will cause an exception to occur.

 

 "the component Get Resource With Name for SMP declares that it outputs an array of [Type] named [OutputVariable] but did not."

 

Message : 

LogicBase.Core.Data.InvalidDataNameException: data name TestOutput[].Count is not valid because piece Count does not exist.  This typically happens if the data type changes structure

   at LogicBase.Core.Data.OrchestrationData.PropertyGetValue(Object instance, String name, String fullName)

   at LogicBase.Core.Data.OrchestrationData.GetValue(String name)

   at LogicBase.Core.Data.OrchestrationData.get_Item(String name, IDataHandler handler)

   at LogicBase.Components.Default.Rules.EqualsRule.Run(IData data)

   at LogicBase.Core.ExecutionEngine.MultiPathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)

   at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)

Cause

 This is a known defect that was introduced in a point-fix rollup for Workflow 7.1 SP2 and 7.5 MP1

Resolution

This issue has been addressed in all versions of Workflow Solution. Please contact Symantec Technical Support for the updated Workflow installer.