Create a Service

After you complete and test the decision logic, create a RESTful service to communicate with Process. The decision service specifies the decision and input data you want to expose.

  1. Expand the Services pane, and click Add new service Add new service icon.
  2. Enter a name for the decision service (What To Bring Service) and click OK.
  3. From the Decisions pane, drag What To Bring (the title of your result decision) to the Output Decisions field in the Services pane and drop when the field turns blue. The service name displays above the field. Validation errors display because you haven’t specified input data yet.
  4. From the Input Data pane, drag the Forecast input data to the Input Data field in the Services pane and drop when the field turns blue.

    Description of decision-services.png follows
    Description of the illustration decision-services.png

    You can output multiple decisions and input multiple data items in a service.

  5. Click Save.