Article Details
Id:11626
Product:finPOWER Connect
Type:FIX
Version:2.00.02
Opened:04/12/2013
Closed:06/01/2014
Released:05/02/2014
Job: J012624

Workflows; User Defined data not using default values defined on Workflow Type

When a new Workflow is created, the User Defined data is not being initialised to the values defined on the Workflow Type.

Unlike Accounts, Clients and Security Statements for which Parameters can be initialised through the User Interface (e.g., as part of the New Client wizard), Workflows can be created at many different times, e.g., from the result of an Account Type Rule or from actioning another Workflow Item. Therefore, the business layer's finWorkflow.Initialise method has been updated to initialise the Workflow's UserData values to those defined on the Workflow Type's Parameters providing the UserData does not already contain any values (i.e., those that have been added by a Script prior to calling the Initialise method). This initialisation takes place before the 'AfterInitialise' Workflow Script event occurs.