Method

GET

GET /process-definition/key/{key}/form-variables (returns the form variables for the latest process definition which belongs to no tenant).

GET /process-definition/key/{key}/tenant-id/{tenant-id}/form-variables (returns the form variables for the latest version of process definition for tenant)

Parameters

If set to false, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML.

Note: While true is the default value for reasons of backward compatibility, we recommend setting this parameter to false when developing web applications that are independent of the Java process applications deployed to the engine.

Result

A JSON object containing a property for each variable returned. The key is the variable name, thevalue is a JSON object with the following properties:

  • serializationDataFormat: The serialization format used to store the variable.

Response Codes

Example

GET /process-definition/anId/form-variables

GET /process-definition/anId/form-variables?variableNames=a,b,c

GET