4. 【Manager】WorkFlow-Process
4.1. 获取所有流程
Type: GET
Author: Timothy
Content-Type: application/x-www-form-urlencoded
Description: 获取所有流程
Request-example:
curl -X GET -i '/flow/ma/process/listAll'
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
id |
string |
ID |
- |
definitionId |
string |
Definition Id |
- |
instanceId |
string |
Instance Id |
- |
activityId |
string |
ActivityId |
- |
activityName |
string |
ActivityName |
- |
key |
string |
Key |
- |
caseId |
string |
CaseInstanceId |
- |
name |
string |
名称 |
- |
deployId |
string |
部署ID |
- |
version |
int32 |
版本 |
- |
revision |
int32 |
修订 |
- |
firstVersion |
boolean |
是否首版 |
- |
started |
boolean |
是否开始 |
- |
suspended |
boolean |
是否暂停 |
- |
active |
boolean |
是否活动 |
- |
ended |
boolean |
是否完成 |
- |
tenantId |
string |
承租人ID |
- |
timeToLive |
int32 |
生存时间 |
- |
description |
string |
描述 |
- |
businessKey |
string |
Business Key |
- |
title |
string |
标题 |
- |
content |
string |
内容 |
- |
amount |
int32 |
数量 |
- |
initiator |
string |
发起人 |
- |
variables |
object |
User Variables |
- |
└─mapKey |
object |
A map key. |
- |
└─any object |
object |
any object. |
- |
formFields |
array |
Form Fields |
- |
└─id |
string |
No comments found. |
- |
└─label |
string |
No comments found. |
- |
└─type |
object |
No comments found. |
- |
└─name |
string |
Name for the form type. |
- |
└─typeName |
string |
No comments found. |
- |
└─defaultValue |
object |
No comments found. |
- |
└─value |
object |
No comments found. |
- |
└─value |
object |
The actual value. May be null in case the value is null. |
- |
└─type |
object |
The type of the value. See ValueType for a list of built-in ValueTypes. |
- |
└─name |
string |
Returns the name of the variable type |
- |
└─primitiveValueType |
boolean |
Indicates whether this type is primitive valued. Primitive valued types can be handled |
- |
└─parent |
object |
Gets the parent value type. |
- |
└─abstract |
boolean |
Returns whether the value type is abstract. This is <b>not related |
- |
└─transient |
boolean |
Indicator for transience of the value |
- |
└─validationConstraints |
array |
No comments found. |
- |
└─name |
string |
No comments found. |
- |
└─configuration |
object |
No comments found. |
- |
└─properties |
object |
No comments found. |
- |
└─mapKey |
string |
A map key. |
- |
└─businessKey |
boolean |
No comments found. |
- |
Response-example:
[{"id":"","definitionId":"","instanceId":"","activityId":"","activityName":"","key":"","caseId":"","name":"","deployId":"","version":0,"revision":0,"firstVersion":true,"started":true,"suspended":true,"active":true,"ended":true,"tenantId":"","timeToLive":0,"description":"","businessKey":"","title":"","content":"","amount":0,"initiator":"","variables":{"mapKey":{"warning":"Using java.util.Object as a Map value is not recommended. Smart-doc cannot process it properly. Please use a specific type for better documentation generation."}}"formFields":[{"id":"","label":"","type":{"name":""},"typeName":"","defaultValue":{},"value":{"value":{},"type":{"name":"","primitiveValueType":true,"parent":{"$ref":"..."},"abstract":true},"transient":true},"validationConstraints":[{"name":"","configuration":{}}],"properties":{"mapKey1":"","mapKey2":""}"businessKey":true}]}]