Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

Testing the Service Connector

Testing the Service Connector

When you use the service connector editor, click
Test
to send a request to the service and display the response data on the
Test
tab:
  • Generate Process Objects
    : Click to see the process objects that you have defined for the service connector.
  • Result
    : Displays the status of the test.
  • HTTP Status
    : Displays the HTTP status code.
  • URL
    : Displays the URL where test data was sent. Any query parameters are added to the URL shown here.
  • Output
    and
    Value
    : Shows the data returned from the service that is assigned to the variables defined on the
    Output
    tab. If you are using XSLT, it is used to extract the data from the payload.
  • Response Payload
    : Shows the payload sent to Process Designer from the service (not the full response sent by the service).
  • REST Request
    : Shows the data sent to the service from Process Designer.
    If you select the
    Enforce Multipart Request
    check box in the binding properties, the
    REST Request
    tab includes
    multipart/form-data
    as the value in the header.
  • REST Response
    : Shows all of the data sent back to the Process Designer from the service (whereas the response payload is only a portion of the returned data).
Here, you can see the differences between the payload, request, and response data (for illustration purposes only; the actual test results display only request
or
response data):
If the response includes one or more attachments, you can also download the attachments. The following image shows a multipart response with options to download all the attachments:
The image shows a multipart response with options to download all the attachments.
Generate Process Objects
A process object is usually tied to a specific set of elements. You may sometimes have a large number of identical objects, each of which applies to one set of elements. For example, when you define the data being returned, you create a process object whose sole purpose is to define a subset of returned data. These objects are
non-reusable
and can only be used by a single process object field. The object names are also the name of a field.
You can also create objects that are
reusable
. For example, the refType element in NetSuite has two fields: a name and an internalID. Instead of creating many objects, each of which contains these two fields, you can create a single, reusable process object.
  1. Click
    Generate Process Objects
    to show the process objects that you have defined for the service connector.
  2. Select the process objects that you want to make reusable and then click
    Next
    .
    Process Designer displays a list of generated process objects.
  3. Click
    Finish
    .

0 COMMENTS

We’d like to hear from you!