multipleusers 02/01/2009,07:30 15.68 Kb
Summary:
This use case illustrate the functionality of multiple users. In Multiple Users same process is assigned to different users. This process is initiated by user “examples\msmith”. After that user “intalio/admin” complete the process and finally user “examples\ewilliams” dismiss the process.
Use Case Dependencies:
1.start.xform.
2.start.xform.xsd .
Requirements:
1.Intalio BPMS Designer 5.2.
2.Intalio BPMS Server 5.2 .
Preconditions:
1.Make sure Intalio|BPMS Server is up and running fine.
2.Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.
Process Download & Import:
1.Download “MultipleUsers.zip”.
2.Go to File > Import...
3.In Import wizard, select 'Existing Projects into Workspace', click on Next >.
4.Select the "Select archive file" radio button.
5.Browse to select the downloaded archive file.
6.Click on Finish.
7.Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.
Steps for remake workflow form:
1.Go to "File > New > select "Intalio|BPMS Business Process Project".
2.Provide project name as “MultipleUsers”, click to finish.
3.Right click on the project select New > "WorkFlow Form".
4.Provide File name as “start” and click on Finish.
5.Click on “Open Perspective” window. Select “Intalio|Designer Form Editor” perspective. It will change your designer perspective to form editor perspective. In this perspective you can create workflow forms.
6.A Intalio| Designer Form Editor is visible on screen. Drag and drop Group control from Workflow Palette on form editor.
7.Drag and drop Text Input control within the Group control on form editor.
8.Go to Properties window set the label of the text input as “Name” under “Control label” > “Basic” property.
9.Drag and drop another text input control within the Group control on form editor.
10.Go to Properties window set the label of the text input as “Age” under “Control label” > “Basic” property..
11.Save the form..
Steps for remake process:
1.Right click on project, go to New > Business Process Diagram.
2.Provide File name as “MultipleUsers”, click on Finish button.
3.A pool with a task is available in BPMN Editor Pane, name default pool as “Client”.
4.Right click on start pool and select "Set pool non executable".
5.Go to Project, select workflow form “start.xform”, drag and drop this form on the client pool and click on the first option “Use start for People Initiating Process Activity (initProcess)”. It is showing new task name as “start-init” on client pool.
6.Again go to Project, select workflow form “start.xform”, drag and drop this form on the client pool and click on the second option “Use start for People Activity (create and complete)”. It is showing new task name as “start-create” linked with “start-complete” on client pool.
7.Again go to Project, select workflow form “start.xform”, drag and drop this form on the client pool and click on the third option “Use start for Notification (notify) ”. It is showing new task name as “start-notify” on client pool.
8.Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as “MultipleUsers”.
9.Focus on “start-init” task; drag outgoing message flow icon to "MultipleUsers" pool and “Connect to the new Task”, name this new task as init.
10.Focus on “init” task; drag outgoing message flow icon to "Client" pool and connect to the “start-init” task.
11.Focus on the “init” task and drag the outgoing sequence flow icon to "Connect to a new Task", name this new task as "create".
12.Focus on the “create” task and drag the outgoing message flow icon to “Client” pool and connect to the ”start-create” task.
13.Focus on the “start-create” task and drag the outgoing message flow icon to “MultipleUsers” pool and connect to the “create” task.
14.Focus on the “create” task and drag the outgoing sequence flow icon to "Connect to a new Task", name this new task as "complete".
15.Focus on the “start-complete” task and drag the outgoing message flow icon to “MultipleUsers” pool and connect to the “complete” task.
16.Focus on the “complete” task and drag the outgoing message flow icon to “Client” pool and connect to the “start-complete” task.
17.Focus on the “complete” task and drag the outgoing sequence flow icon to "Connect to a new Task", name this new task as "notify".
18.Focus on the “notify” task and drag the outgoing message flow icon to “Client” pool and connect to the “start-notify” task.
19.Focus on the “start-notify” task and drag the outgoing message flow icon to “MultipleUsers” pool and connect to the ”notify” task.
20.Focus on “start-init” task.
21.Click Properties tab > click on “Workflow” section.
22.Assign user to “examples\employee” within the “User(s)” text box.
23.Also provide description “Initialize Multiple Users” within the “Description” text box.
24.Now focus on “start-create” task.
25.Click Properties tab > click on “Workflow” section.
26.Assign user to “intalio/admin” within the “User(s)” text box.
27.Also provide description “Create Multiple Users” within the “Description” text box.
28.Finally focus on “start-notify” task.
29.Again click Properties tab > click on “Workflow” section.
30.Assign user to “examples\ewilliams” within the “User(s)” text box.
31.Also provide description “Notify Multiple Users” within the “Description” text box.
Define Outgoing Mappings:
1.Select “create” task.
2.Click on “$startInitProcessRequestMsg.root” node in the left side of the mapper.
3.Within this node, click on “taskOutput” > “output” > group18.
4.Click on “startCreateTaskRequestMsg.root$” node in the right side of the mapper..
5.Within this node, click on “taskInput” > “input” > group18.
6.Connect “Age” and “Name” in the left side of the mapper with the “Age” and “Name” in the right side of the mapper.
7.Select “notify” task.
8.Click on “$startNotifyTaskCompletionRequestMsg.root” node in the left side of the mapper.
9. Within this node, click on “taskOutput” > “output” > group18.
10. Click on “startNotifyRequestMsg.root$” node in the right side of the mapper..
11. Within this node, click on “taskInput” > “input” > group18.
12.Connect “Age” and “Name” in the left side of the mapper with the “Age” and “Name” in the right side of the mapper.
13.Save the process.
Process Deployment & Execution:
1.Click on Deploy Project to Intalio|BPMS Server button in tool bar.
2.Make sure you select all runtime files while exporting to Intalio|BPMS Server.
3.Click on Finish button.
4.Open a web browser, provide url as: http://localhost:8080/ui-fw which takes to login screen for workflow UI.
5.Login with the following credentials:
username: 'examples\msmith' (without quotes).
password: 'password' (without quotes).
6.Under Processes tab you should see “Initialize MultipleUsers” link, click it to view form.
7.The form generated displays two textboxes; “Name” and “Age”.
8.Enter any name say John in “Name” textbox and age say 25 in “Age” textbox.
9.Click on Start process button to start the process.
10.Logout from this url and login with another credentials:
username: 'intalio/admin' (without quotes).
password: 'changeit' (without quotes).
11.Under Tasks tab you see “Create MultipleUsers” link, click it.to view form.
12.In this form you see the “Name” and “Age” which you entered previously using “examples\msmith” user.
13.Click on 'Complete” button to complete the process.
14.Logout from this url and login with another credentials:
username: 'examples/ewilliams' (without quotes).
password: 'password' (without quotes).
15.Go to Notifications process and click on “Notify MultipleUsers” link, click it to view form.
16.In this form you see the “Name” and “Age” which you entered previously using “examples\msmith” user.
17.Click on “Dismiss” button to dismiss the process.
Note:
This sample is an example to educate users on:
1.How to assign same process by difference users.

