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

Invoking processes with a list of simple type

Invoking processes with a list of simple type

When you invoke a process, the format to specify the list of values differs based on the type of HTTP verb and the payload format. You can provide a list of checkbox, date, date time, time, number, integer, and text values.
In a GET request, provide a list of check box, date, date time, time, number, integer, and text values separated by an ampersand (
&
) in the URL.
For example:
https://na1.ai.dm-us.informaticacloud.com/active-bpel/public/rt/3TbGuTUy0cchqLy0IXoXsn/OrderManagementProcess?taskIds=TASK-123&taskIds=TASK-456&itemcount=5&itemcount=6&listdatetime=2022-08-24T21:32:52&listboolean=true&listboolean=false
In a POST request, if you use JSON, provide an array of comma-separated values.
For example, use the following text for JSON:
{ "taskIds": ["TASK-123", "TASK-456", "TASK-789" ] "itemcount": [5,6] "listdatetime": ["2022-08-24T21:32:52", "2022-08-25T22:32:52"] "listboolean": [true,false] }
In a POST request, if you use XML, provide text in the XML format.
For example, use the following text for XML:
<taskIds>TASK-123</taskIds> <taskIds>TASK-456</taskIds> <itemcount>5</itemcount> <itemcount>6</itemcount> <listdatetime>2022-08-24T21:32:52</listdatetime> <listdatetime>2022-08-25T22:32:52</listdatetime> <listboolean>true</listboolean>
In a SOAP request, provide values in the XML format similar to a POST request.

0 COMMENTS

We’d like to hear from you!