Chapter 2 RMS and Decision Manager Configuration : Configuring Workflow Status Permissions for User Roles

Configuring Workflow Status Permissions for User Roles
RMS incorporates a workflow for approval of decision artifacts created through Decision Manager. Each stage in the approval process has an associated status.
The approval workflow is modeled as a BusinessEvents state machine which is configured in the BRMS project, which is the BusinessEvents project that provides RMS functionality.
You can customize the default workflow by customizing its state machine in the BRMS BusinessEvents project. This is an advanced activity that assumes advanced knowledge of BusinessEvents. It is not documented in this guide.
Reviewers with different roles may need to review a decision artifact before it becomes available for deployment. You can assign each role an appropriate set of status values. To do this you configure the workflow stages file. For example:

 
<stages>
  <role name = "RULE_ADMINISTRATOR">
     <statuses>
        <status>Approve</status>
        <status>Reject</status>
        <status>Unload</status>
     </statuses>
  </role>
</stages>

 
Users see only the statuses that their role permits them to see.
To Configure Workflow Permissions
1.
Open the WorkflowStages.xml file. As shipped, the file is located in BE_HOME/rms/examples/WorkflowStages.xml.
The name and location are configurable, as described in the notes for the java.property.rms.project.workflow.config.file property. See Table 4, RMS Server Configuration Properties.
2.
Within the section for each role name, add, delete, or modify status elements so that the set of statuses listed for each role matches the set of statuses you want that user role to be able to use.
3.