Previous Topic: Add the WebService Actor Manually

Next Topic: Web Service Workflow Example Files

Import the Workflow

To import the workflow

  1. Choose File, Import, Process Definition from the Workflow Client Process Manager tab.
  2. Select WebServiceExample.xml.
  3. Double-click the Web Service Example workflow that appears in the right pane.

    You are now in the Process Designer.

  4. Double-click each role in the bottom pane and associate them with the actors you have created.
  5. Click Save to save the Web Service Example process.

Execute the Workflow

If you have followed the previous instructions, everything is now set up for the Web Service Example workflow.

To execute the workflow

  1. Select the Web Service Example workflow from the Process Manager tab.
  2. Click the Run Process button to start the workflow.

    You should see the “Successfully started process” message.

  3. Click OK.
  4. Log in to your worklist (http://%SERVERNAME%:%PORT%/wl).

    If you are using LDAP authentication, log in as a user who is part of the LDAP list of users who were included in the filter specified during the JNDI User Actor configuration.

    For example, enter localhost:8081 for %SERVERNAME%:%PORT%.

    You should see a Get ISBN activity in your worklist.

  5. Click Perform.
  6. Enter any value in the ISBN field (any fictional number to represent an ISBN number can be used), then click OK.
  7. Click Refresh.

    You should see an activity named either Approved Message or Denied Message that states the request was either approved or denied. The price of the book also displays.

  8. Click Perform for the Approved Message or Denied Message activity.

    You will see a message that the Book Order was either approved or denied, along with its cost.

  9. Click OK.

    You should see that the Get ISBN and Approved Message (or Denied Message) tasks have been completed.