Navigation :
test ../../../ test dev.html
Developer Guide
test ../../../ test dev/dev-release.html
-
Release and migration notes
test ../../../ test dev/getting-started.html
-
Getting started
test ../../../ test dev/dev-ui-config.html
-
Configuring the UI
test ../../../ test dev/dev-extensions.html
-
Extending the Module
test ../../../ test dev/dev-extensions/custom-cube-config.html
--
Adding Custom Cube Configuration
test ../../../ test dev/dev-extensions/custom-data-loading.html
--
Adding Custom Data Loading
test ../../../ test dev/dev-extensions/custom-evaluation.html
--
Adding Custom Evaluation Logic
test ../../../ test dev/dev-extensions/custom-limit-structure-templates.html
-- Adding Custom Limit Structure Templates
test ../../../ test dev/dev-extensions/custom-ui-exceptions.html
-- Adding Custom UI Exceptions
test ../../../ test dev/dev-extensions/custom-utilization.html
-- Adding Custom Utilization
test ../../../ test dev/dev-extensions/custom-validation.html
--
Adding Custom Validation
test ../../../ test dev/dev-extensions/custom-workflow.html
--
Adding Custom Workflow Tasks
test ../../../ test dev/dev-extensions/custom-workflow/custom-workflow-action-bpmn.html
--- Updating the BPMN file
test ../../../ test dev/dev-extensions/custom-workflow/custom-workflow-action-spring-bean.html
--- Defining Task Spring Beans
test ../../../ test dev/dev-extensions/custom-workflow/custom-workflow-action-java-code.html
--- Executing the Java Task
test ../../../ test dev/dev-extensions/custom-workflow/custom-workflow-settings.html
--- Custom Workflow Settings
test ../../../ test dev/dev-extensions/custom-persistence.html
--
Adding Custom Persistence
test ../../../ test dev/integration.html
-
How to Connect Limits to an Atoti Server
test ../../../ test dev/persistence.html
-
Persistence
test ../../../ test dev/alert-tasks.html
-
Evaluating Limits
test ../../../ test dev/scopes.html
-
Limit scopes
test ../../../ test dev/limit-workflow.html
-
Limit Workflow
test ../../../ test dev/date-roll.html
- Date Roll
test ../../../ test dev/rest-services.html
- REST Services
test ../../../ test dev/roles.html
-
Roles and Permissions
test ../../../ test user-ref.html
User & Reference Guide
test ../../../ test user-ref/limits-overview.html
-
Atoti Limits Overview
test ../../../ test user-ref/whats-new.html
- What's New
test ../../../ test user-ref/videos.html
- Video walk-throughs
test ../../../ test user-ref/using-limits.html
-
Manage limits
test ../../../ test user-ref/manage-incidents.html
-
Manage incidents
test ../../../ test user-ref/input-files.html
-
Input file formats
test ../../../ test user-ref/cube.html
-
Cube reference
test ../../../ test user-ref/properties.html
-
Properties
test ../../../ test user-ref/datastore.html
-
Datastores
Updating the BPMN file
Updating the bpmn file
A UserTask
in a bpmn file in its simplest form looks as follows:
<userTask id= "editUserTask" name= "EDIT" activiti:candidateGroups= "MANAGERS,USERS,USER" >
...
</userTask>
Here we specify:
the id of the task
the name of the task
the user roles (candidate groups) who may execute the task, which is managed by Activiti
To add a custom workflow action, add the following to your UserTask
:
<userTask id= "editUserTask" name= "EDIT" activiti:candidateGroups= "MANAGERS,USERS,USER" >
<extensionElements>
<activiti:formProperty id= "workflowTaskActionBeans" type= "enum" >
<activiti:value name= "approveButtonWorkflowAction" />
<activiti:value name= "rejectButtonWorkflowAction" />
</activiti:formProperty>
</extensionElements>
</userTask>
where
the formProperty
id = workflowTaskActionBeans
tells Atoti Limits that it should pick up the contents of this formProperty
to resolve one or more
Spring Beans.
note
The id must be workflowTaskActionBeans
, otherwise Atoti Limits will not resolve the tasks.
the value
’s name tells Atoti Limits the name of the Spring Bean it should resolve.
note
Take care when selecting the name of the Spring Bean. These must be unique for each action and every other Spring Bean in the application.
A good naming convention is to prefix/suffix the bean with something unique to the type of bean, for example, ButtonWorkflowAction
.
Now Atoti Limits can find the actions linked to each task. The next step is to define the actions as Spring Beans .