This article describes how to create or edit a simple process in Nexus PRIME Designer, with the Process Designer tool. To create more complex processes with the full set of tasks, the Activiti designer plugin can be used.
Prerequisites
Prerequisites
Before setting up a process, make sure that the following things apply:
Installed PRIME
Step-by-step instruction
Log in to PRIME Designer
Log in to the PRIME Designer as an admin user.
Add process
In PRIME Designer, go to Home > Process Designer.
To add a new process:
Click +New.
Enter a Name, for example Create Employee,and a Description.
Click Save+Edit. The Process Design panel is shown.
To edit an existing process, double-click on its name.
Optionally, enter a Help text.
Add tasks
Add, remove or edit process tasks as needed.
Go to the Task List tab.
In the Task List tab, click + to add a task.
Select a task type. See the available task types and attributes. To use parametrized tasks, select Service task as type.
Enter a Name, a Description, and the required attributes for the selected task type. For example, for a Save Data task, a data pool is needed to specify where to save the data.
If a service task is chosen, click the pen symbol to edit. To use a parametrized task:
Select Delegate Expression.
Enter expression with the name of the parametrized task in the text field, for example ${createRelationJavaDelegate}.
To let a step be done in parallel to the previous step, check Branching.
Click Preview to see a graphic representation of the current process.
Click Save.
Set permissions
Add permissions for users and roles for all operation types:
Go to the Permissions tab.
For each operation type, Delete, Update, Start process, and so on, click the operation name. Repeat steps 3-4 to add permissions for users and roles.
To add permissions for a specific user, click Add user and select the user in the drop-down list.
To add permissions for a role, click Add role and select the role in the drop-down list.
Click Save.
Task types and attributes
Task name
Description
Attributes
Assign New Number
A number from a number range is assigned to a data pool field.
Number range
Data pool and field name
Card Operation
An action on a card (e.g. Set PIN/Change PIN) is executed.
Form
Card action
Change State
The state of an object is changed in the local PRIME database to a particular state, e.g. from "Active" to "Inactive".
Data pool
Target state
Change State in CA
The state of a certificate is changed in the CA to a particular state. The state is then also changed in the local database.
Target state
Check Task
This task checks the relationship between a data pool object and a particular identity object. The relationship must be a "one-to-one" relationship. If this is not the case, an activity error occurs.
Data pool
Identity template
Choose Mapping
Data are copied from one data pool to another by means of mapping.
Mapping
Delete Data
The data of a particular ID are deleted in the data pool indicated.
Data pool
Export Task
Data is exported according to an export definition.
Export definition
Mail Task
An email is sent, e.g. a confirmation of receipt.
Email template
Modify Roles Automatically
Roles are automatically assigned to or withdrawn from particular objects.
Data pool
Role
Modify Roles Manually
The user can assign or withdraw roles to or from particular objects manually.
Data pool
Role
Print Report
A document with the indicated template can be printed.
Form
Report template
Production
A card or token is produced.
Card template
Production with Preview
Before a card is produced a preview of the card is displayed on the user interface. There are two variations: one for client-side and one for server-side production. These differ by the following forms:
clientSideProductionPreviewTask.jsp
serverSideProductionPreviewTask.jsp
Form
Card template
Request Softtoken
A softtoken is required by the CA and sent to the recipient by email.
Certificate type
Email template
Return Number
A number from a number range is released again.
Number range
Data pool and field name
Save Data
The process data are saved in the data pool indicated. If a suitable ID is found, an update is run, otherwise a new data record is created.
Data pool
Script Task
This task contains a scripting engine for script languages such as JUEL, BeanShell, JavaScript and Groovy.
Script to be executed
Service Task
A JAVA class that is executed during the process runtime is added to the process.