FIX1.06.05 · Released 26 November 2012
High Importance
FIXfinPOWER Connect
Released in
1.06.05
26 November 2012
  1. Opened12 Nov
  2. Closed12 Nov
  3. Released26 Nov
Article 10685 Job J010708

Workflows; Adding a new group or items within a group may fail with duplicate code if Item Group is configured to repeat for each Account Client

When adding a group manually via the button on the Items page of the Workflows form or adding a group via a Workflow Item's action, an error similar to the following may be given:

Validation of Workflow Items failed.

Item Id 'ABC' is used more than once. Item Ids must be either blank or unique within a Workflow.

The Item Group was not being given a unique Id if the Item Group was configured to repeat for each Account Client. The Item Id will now have a sequence number added to the end if necessary, e.g. 'ITEM1.C10000.2' (ItemId dot ClientId dot Sequence).

NOTE: The ItemById method on finWorkflowItems returns only the first Workflow Item with the specified Item Id (Workflow Items are allowed to have duplicate Item Ids). A Debug and Trace warning is written to alert the coder to this just in case they are unaware.