iGRPIGRP 3.0Documentation

Atividades

Eventos e progresso de uma instância.

Atividades de uma instância

GET
/activities/instances

Autorização

bearerAuth
headerAutorizaçãoBearer <token>

Parâmetros de query

processIdentifier*string
type?string

Corpo da resposta

OK

application/json
  1. response
id?string
name?string
description?string
processInstanceId?string
parentId?string
parentProcessInstanceId?string
status?string
type?string
variables?array<>
curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/activities/instances?processIdentifier=string'
{  "id": "string",  "name": "string",  "description": "string",  "processInstanceId": "string",  "parentId": "string",  "parentProcessInstanceId": "string",  "status": "string",  "type": "string",  "variables": [    {      "name": "string",      "value": null    }  ]}

Progresso de uma instância

GET
/activities/progress

Autorização

bearerAuth
headerAutorizaçãoBearer <token>

Parâmetros de query

processIdentifier*string
type?string

Corpo da resposta

OK

application/json
  1. response
activityKey?string
activityName?string
status?string
type?string
processInstanceId?string
assignee?string
candidateUsers?string
candidateGroups?string
startTime?string
Formatodate-time
endTime?string
Formatodate-time
durationMillis?integer
Formatoint64
activityId?string
variables?array<>
executionId?string
taskId?string
activityInstanceId?string
treeNumber?string
forms?array<>
userProfileAssignee?
curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/activities/progress?processIdentifier=string'
{  "activityKey": "string",  "activityName": "string",  "status": "string",  "type": "string",  "processInstanceId": "string",  "assignee": "string",  "candidateUsers": "string",  "candidateGroups": "string",  "startTime": "2019-08-24T14:15:22Z",  "endTime": "2019-08-24T14:15:22Z",  "durationMillis": 0,  "activityId": "string",  "variables": [    {      "name": "string",      "value": null    }  ],  "executionId": "string",  "taskId": "string",  "activityInstanceId": "string",  "treeNumber": "string",  "forms": [    {      "name": "string",      "value": null    }  ],  "userProfileAssignee": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "username": "string",    "email": "string",    "firstName": "string",    "lastName": "string",    "fullName": "string",    "sub": "string"  }}

Obter atividade

GET
/activities/{id}

Autorização

bearerAuth
headerAutorizaçãoBearer <token>

Parâmetros de caminho

id*string

Corpo da resposta

OK

application/json
  1. response
id?string
name?string
description?string
processInstanceId?string
parentId?string
parentProcessInstanceId?string
status?string
type?string
variables?array<>
curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/activities/string'
{  "id": "string",  "name": "string",  "description": "string",  "processInstanceId": "string",  "parentId": "string",  "parentProcessInstanceId": "string",  "status": "string",  "type": "string",  "variables": [    {      "name": "string",      "value": null    }  ]}
How is this guide?

Última atualização: