Workflow and ServiceDesk Community

 View Only

String with name 'XXX' has already been added - Workflow Integration Library 

May 13, 2015 06:05 PM

So you've created an Int.png Integration Component with SQL Generators etc included.

You add a new Generator to the list, get to the end and after you 'Recompile and close' the following warning shows: 

Integration Library - Error (1).png

Open up Workflow.png Symantec Workflow Explorer and go to the Log Viewer tab.

(<Install Drive>:\Program Files\Altiris\Workflow\Logs\logicbase.tool.generator.exe.log)

Application Name : LogicBase.Tool.Generator.exe
Process ID : ##
Date :DD/MM/YYYY HH:NN:SS
Log Level :Error
Log Category :LogicBase.Tool.Repository.OperationManager
Machine Name : <SERVERNAME>
Message : 
System.ArgumentException: String with name 'XXX' has already been added
Parameter name: name
   at Symantec.Workflow.HelpEditor.Internal.ResxFile.AddString(String name, String value)
   at Symantec.Workflow.HelpEditor.Internal.FileWriter.WriteToolboxCategories(String baseCategoryPath, IEnumerable`1 categories)
   at Symantec.Workflow.HelpEditor.Internal.FileWriter.WriteToolbox(XmlWriter xml)
   at Symantec.Workflow.HelpEditor.AssemblyWriteFile.ExecuteAsync()
   at Symantec.Workflow.Manager.Common.Operation.BeginExecution()

The Help Editor will still open but you won't have the folder containing the component, like it would usually, given the Component name.

 

The reason from the Logs show there is an issue with a name that is trying to be created in the Help Editor File.

The component still exists it just won't be in it's own folder.

You will need to manually create this.

 

Select Components from the Type section and it will show:

Help Editor (1).png

Under Toolbox select the top level folder right-click and Add:

Help Editor (2).png

Give it a Name:

Help Editor - Name.png

Now drag the component from the Components section into this new folder:

Help Editor (3).png

It may appear in the top level folder as well (Test_INT) so just move it from there into the sub-folder.

 

The fix will be added to the next rollup release for Workflow 7.6.

 


Protirus.png

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

May 14, 2015 08:00 AM

I'd originally submitted the case as 7.5 but I've also found it happen still in 7.6, I've asked the question so I'll let you know when I get a reply.

Edit: 7.6

May 13, 2015 06:11 PM

Hi Alex - what version of Workflow is this referencing?  I noticed the mention of a fix being in a "next rollup release", is this in the latest version of 7.6?

Related Entries and Links

No Related Resource entered.