Home > Release Notes

4.7.4

Release Date: September 28, 2009

Workflow

Various enhancements have been done, in order to make the workflow interfaces more intuitive. Areas for improvement are:

Libraries of Beans

Built-in and declared beans are automatically proposed in the drop-down list of definition screens. When a user selects a bean, the associated parameters are dynamically displayed.

For more information, see Built-in scripts and Built-in conditions .

Except when they are built-in, beans must be declared in module.xml file: see Library script example and Library condition example .

Libraries of UI Services

Module services are already defined in module.xml file. This declaration can be completed: it is now possible to define the labels, descriptions, input parameters and output parameters to be displayed in a user task definition. For adaptation services, a tag serviceLink is available to declare its parameters. It is also possible to extend an existing service declaration in module.xml file.

For more information, see Specific UI services and InteractionHelper .

New checks before workflow publication

The adaptation of a workflow definition must be activated before publication, and must contain no validation errors (new warning).

For more information, see publication documentation .

New completion strategy

A new completion strategy is available: "terminate current tasks when all work items are completed". This new strategy is useful when associated to the built-in condition "check if last user task was accepted". When this strategy is selected for a user task definition, the workflow progresses when all work items are completed (even though a work item is rejected). In this way, the workflow checks the condition "last user task accepted" and redirects to the next task depending on the last decisions.

Optional 'Reject' button

In a user task definition, 'reject' is now optional. If it is not enabled, the 'reject' button is not displayed to the end-user.

For more information, see Optional reject .

Activation of the 'Accept' button

The 'Accept' button is displayed only when the work item is declared as completed.

Temporal tasks

Fields are added in definition user task for checking that tasks are executed on time. There are two check levels: mail reminder and deadline.

For more information, see Temporal tasks .

Mail CC for user task

A new field is available in user task definition: mail CC . If this field is not empty, all mails are CC'ed to the specified user or role.

New mail for deleted work items

A new field is available in user task definition: notification mail for deleted work items . When an incomplete work item is deleted, a mail is sent to the concerned users.

New mail variables:

Compatibility

Scripts and conditions

Compatibility is complete, except for tasks which used input parameters . In this case, the process instance does not perform. The developer can use the new interfaces or use only data context. For all the other cases, compatibility is complete. Old scripts and conditions are displayed as specific beans in the definition screen, and processes execution performs.

User tasks

Compatibility is complete. Old publish processes perform. Old definition of user tasks are always valid too. When a user edits an old user task, the Manager offers the matching service declaration if one is found. If the user selects it, the display is updated and the parameter values are retrieved. If the user does not select it, he can update parameters value, but he cannot add or delete parameters. For that purpose, a service declaration is required.

Graphical User Interface

Enumerations and null value

The input components for the enumeration facets (drop-down list and advanced component) now offers an "empty" choice for selection. If the facet already offers empty values, the input component behavior does not change. Otherwise, empty values are converted to null .

Number of records by page

The number of records displayed by page is now saved in user preferences.

Data Model

A new element <osd:information> has been defined for specifying additional information on schema nodes. This information can then be used by integration code for specific purposes.

Data Model Assistant

The user interface has been enhanced for various components. Concerning the support of JavaBeans specification, it is now possible to define localized parameters inside rules and business objects.

For more information, see Rules and business objects and Java bean

Directory (default)

Facet pattern ( [A-Za-z0-9]{1,20} ) on login has been removed from the default directory implementation.

In the default directory implementation, max length for a specific role name was 20 and is now 80.

Validation

Various optimizations have been performed in the internal incremental validation framework:

Data Model API

Introspection API has been extensively completed:

Directory API

Class Directory

A new method is available to display a user with salutation.

For more information, see Directory

Validation API

Class Adaptation

Class AdaptationTable

New method: getValidationReport() . It returns the up-to-date validation report associated with a table.

For more information, see AdaptationTable.getValidationReport()

Interface ConstraintContext

Methods addDependency* have been improved for defining finer dependency links between nodes.

For more information, see ConstraintContext

Interface ValidationReportItemSubjectForAdaptation

Represents a subject of a validation report item in the context of an adaptation.

For more information, see ValidationReportItemSubjectForAdaptation

Interface ValidationReportItem

New method: getSubjectForAdaptation() . It returns the adaptation associated with a validation item.

For more information, see ValidationReportItem.getSubjectForAdaptation()

Workflow API

Class CompletionStrategy

New strategy: ALL_WORK_ITEMS_COMPLETED. A user task is considered completed when all its work items are completed (ignore reject/accept).

For more information, see CompletionStrategy

Interface UserTaskResult

Represents a user task result (workitems list, decisions).

For more information, see UserTaskResult

Interface WorkItem

New methods:

For more information, see WorkItem

Abstract class ScriptTaskBean

The class to extend in order to declare a new library script Task bean.

For more information, see ScriptTaskBean

Interface ScriptTaskBeanContext

Like ScriptTaskContext without dataContext access.

For more information, see ScriptTaskBeanContext

Interface ConditionContext

New method: getLastUserTaskResult: returns the UserTaskResult of the last user task (workitems list and workitems informations)

For more information, see ConditionContext

Abstract class ConditionBean

The class to extend in order to declare a new library condition bean.

For more information, see ConditionBean

Interface ConditionBeanContext

Like ConditionContext without dataContext access.

For more information, see ConditionBeanContext

Data Services and Workflow

It is now possible to start and to end a workflow process instance through Data Services.

Testing Environment API

A new API class, TestHelper allows to write unit tests or integration tests. The class can be executed in a "server-less" EBX.Platform environment. In such an environment (java process), no application server is needed.

Bug Fixes

Home > Release Notes