Differences between revisions 4 and 5
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

The following improvements are implemented:

 * The workflow types appearing in select lists on the GUI are coming from the table DisplayWorkFlowTypeRef to allows aliases to the same workflow.
 * It is possible to have different workflow step names for different workflows through the tables DisplayWorkFlowTypeRef-DisplayWorkFlowStepListRef-DisplayWorkFlowStepRef-WorkFlowStepRef. The workflow step names are taken ALWAYS from table DisplayWorkFlowStepRef.
 * It is possible to have different workflow step status names for different workflows through the tables DisplayWorkFlowTypeRef-DisplayWorkFlowStepRef-ApprovalStatusListRef-DisplayApprovalStatusRef-ApprovalStatusRef. The workflow step status names are taken ALWAYS from table DisplayApprovalStatusRef.
Line 8: Line 14:

== Implementation ==

Smarty functions are used to display the dynamic names. See function.wf_step_name.php and function.html_inoutput.php.

Dynamic Work Flow Names

The following improvements are implemented:

Database Model

The graphical representation of the database model was created by mysql-worbench V5.2.31. An older version is part of the OpenSuse distribution. Contact TN is you want to install mysql-worbench V5.2.31 from source on OpenSuse or on other linux distributions.

The model as MySQL WorkBench File or asPDF File

Implementation

Smarty functions are used to display the dynamic names. See function.wf_step_name.php and function.html_inoutput.php.

System Changes

There are some changes in the DrawMGT system to care about:

  • The field Revisions.displayWorkFlowTypeId appears in the select lists, but the field Revisions.workFlowTypeId is used for the validation. It must be ensured that Revisions.workFlowTypeId is updated always on Revisions.displayWorkFlowTypeId change
  • The DocumentTypeRef table contains displayWorkFlowTypeId instead of workFlowTypeId

Open Points

  • Validation error messages shows the original field names instead of the dynamic ones

DynamicWorkFlowNames (last edited 2011-03-04 17:53:11 by 195)

Copyright 2008-2014, SoftXS GmbH, Switzerland