Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

The ClaimsApprovalTask sample has a BPEL process that accepts claims approval requests. The Client is the user who requests for claim approval and sends a claim forward. If the claim approval amount is greater than 1000, the process requires human interaction for the claim approval. In this sample, a regional manager will be assigned an approval task a Claims Approval Task (human task) to interact with the system and approve or reject the claim. If the amount is less than 1000, no human interaction is required and the claim approval process will the Claim Approval Process will continue. 

Creating the Required Roles and Users

...

  1. In the BPS management console, go to Configure -> Users and Roles -> Roles, and then click Add New Role.
  2. Enter regionalManagerRole for the role name and click Next.
  3. Select All Permissions to give all permissions to this role to the role created and click Finish (the users will be added later). 
  4. Repeat these steps to create another role called regionalClerksRole .

To create the users:

  1. Go to Configure -> Users and Roles -> Users, and then click Add New User.
    First, we will create a user who will have the regionalManagerRole role.
  2. Enter regionalManagerUser for the user name and enter any password, and then click Next.
  3. Select regionalManagerRole and click Finish
  4. Repeat these steps to create another user with username regionalClerkUser and assign the regionalClerksRole as the role.

...

  1. Go to Main -> Human Tasks -> Add.
  2. Browse to and select ClaimsApprovalTask.zip, which is located in <BPS_HOME>/repository/samples/humantask, and click Upload.
  3. Click OK in the confirmation message and then refresh the page.

The ApproveClaim and ClaimApprovalReminder task The ApproveClaim and ClaimApprovalReminder task definitions appear in the deployed task configurations list.

...

  1. Go to Main -> Processes -> Add.
  2. Browse to and select ClaimsApprovalProcess.zip, which is located in <BPS_HOME>/repository/samples/bpel, and click Upload.
  3. Click OK in the confirmation message, wait a few moments, and then refresh the page.

The ClaimsApprovalProcess process The ClaimsApprovalProcess process is now deployed and appears in the Deployed Processes list.

...