Generating a Business Service to Create/Update/Delete Case Data

You can generate a business service from Case Class. The business service generated contains the relevant tasks to create, update or delete case data, depending on which option you selected when generating the business service.

Procedure

  1. Right-click a Case Class in a BOM, and select Generate Business Service.
  2. Select one of the following options:
    • To Create Case Data: This creates a case data business service designed to allow you to create case data with appropriate runtime error handling, should a case object with the given case identification already exist.

    • To Update Case Data: This creates a case data business service designed to allow you to update case data with appropriate runtime error handling, should a case object with the given case identification not exist or have been updated since the lookup was performed.

    • To Delete Case Data: This creates a case data business service designed to allow you to delete case data with appropriate runtime error handling, should a case object with the given case identification not exist or have been updated since the lookup was performed.

  3. From the Generate Business Service dialog, open the project and Process Packages where you want to place the xpdl. You can also select an existing xpdl. Click Finish.

What to do next

When you have generated a case data business service, you can use it to edit case data. You are most likely to do this when you have an ad-hoc request not related to one of your normal business processes (for example, a customer has notified you of a change of address, and you want to make this change independent of any other changes to their order information. In this example you could use the Update Case Data business service to make the relevant changes to their data).