Create Payload Configuration

Business Rule Payload Configuration involves linking a payload with a business rules Service ID in BTP and setting the access endpoint.

Context

The Business Rule Payload Configuration tile on the Self-Service Dashboard allows you to add a new payload configuration.

Procedure

  1. On the Self-Service Dashboard, choose the Business Rule Payload Configuration tile.

    The Business Rule Payload Configuration List page opens.

  2. Choose New.

    The Add Business Rule Payload Configuration page opens.

  3. From the drop-down menu, choose the Business Rule Type.
    This is a mandatory field and includes the following options:
    • Approval

    • Workflow

  4. Based on the selected Business Rule Type, the required fields will vary.
    • If Approval is selected:

      • The Payload Format must be set to JSON.

      • Enter the Business Rules Service ID. This is a unique identifier already set up in BTP for each business rule.

      • Choose the End Point from the drop-down menu, which defines where the payload will be sent.

    • If Workflow is selected:

      • The Payload Format must be set to JSON.

      • The Data Send Method must be set to BTP Direct Invoke.

      • In Business Rules Payload Name field choose the payload.

      • The Data Update Method must be set to BTP Direct Response.

      • Enter the Business Rules Service ID, this is optional. This is a unique identifier already set up in BTP for each business rule.

      • Choose the End Point from the drop-down menu.

  5. Choose Add to save the configuration.