Navigation:  Integration via REST web services > Published web services > Workflow >

INSTANCE-ATTRIBUTE

Previous  Top  Next

This method returns data of a workflow and an attribute using a REST endpoint.

 

Service URL

https://<domain>/apigateway/se/exp/chatbot/api/instance-attribute.php

 

Method

GET

 

Input parameters

ID #

Type

Required

Description

cdProduct

NUMERIC

X

Code of the process automation component (39 for Workflow)

idInstance

STRING

X

Process instance ID # (WFPROCESS.IDPROCESS)

cdAttribute

NUMERIC

X

Primary key of the attribute (ADATTRIBUTE.CDATTRIBUTE)

fgLanguage

NUMERIC

 

Attribute language code

 

Output parameter

{

 "success": true,

 "response": {

         "oid": "instance oid",

         "identifier": "instance ID #",

         "title": "instance title",

         "processStatus": "process status (text)",

         "deadline": "deadline status (text)",

         "slaStatus": "SLA status (text)",

         "instanceStatus": "instance status (text)",

         "automationProductCode": "process automation code"

         "fgStatus": "process status code"

         "fgSlaStatus": "SLA status code"

         "fgDeadline": "deadline status code"

         "attribute_oid": {

                 "attributeOid": 0,

                 "dataType": 0,

                 "multivalued": false,

                 "title": "attribute title (in the language defined, when it is the case)",

                 "type": 0,

                 "value": "attribute value",

                 "formattedValue": "formatted value, when the type is date, number or currency)"

         }

 }

}