HP CloudSystem Enterprise Guía de usuario Pagina 121

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 120
Create a process instance
Details
URI
/processinstances
Method POST
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 91 for the steps required to get the userIdentifier value.
Request
Body
ProcessInstance VO
Response
Body
ProcessInstance VO
Returns 200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception
The following must be provide in the request body:
l Process definition ID.
l Context string. Includes contextual information that is relevant for the caller after the process
instance has been created.
l Artifact ID.
l Properties. The properties provided here will be merged with the process definition properties.
Two implicit tokens (reserved flow input variable names) are provided to process instances
executed through the HP Operations Orchestration execution engine.
l CSA_PROCESS_ID - will be provided the value of the UUID of the process instance.
l CSA_CONTEXT_ID - will be provided the value of the Artifact ID. This is the artifact for which
this process instance executes.
The following was sent to create a process instance:
https://<host>:<port>/csa/rest/processinstances/?userIdentifier=90d9652b35f35a93
0135f35b327e00a0
The following XML was sent in the request:
<ProcessInstance>>
<property>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>Unit Test Process Instance Property</name>
<paramRoleType>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>INPUT</name>
<disabled>false</disabled>
APIReference
HP Cloud Service Automation (4.10) Page 121 of 150
Vista de pagina 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 149 150

Comentarios a estos manuales

Sin comentarios