...
Request:
Query Parameters:
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
scene | Enum | Yes | the scene of the workflow designer. Valid value as follow: resource - open a VNF's workflow service - open a Service's workflow | different scene may has different activities extend. |
Response:
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
nodes | Map<String, CategoryInfo> | Yes | Category Informations of the extend activities. key – extend activity id value - Category Informations of the extend activity | |
categoryData | Map<String, CategoryData> | Yes | Category Data of the group. key - Category id value - Category Data |
CategoryInfo:
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
category | String | No | Category id of the extend activity. |
CategoryData:
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
name | String | Yes | Category name. | |
collapse | Boolean | No | Do you collapse this category by default? |
Data Model
WorkflowInfo
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
id | String | Yes | Unique UUID of the workflow | |
name | String | Yes | Name of the workflow | |
version | String | No | version of the workflow | |
description | String | No | description of the workflow | |
scene | Enum | Yes | the scene of the workflow designer. Valid value as follow: resource - open a VNF's workflow service - open a Service's workflow | different scene may has different activities extend. |
data | String | Yes | The workflow content | for new workflow, the data field maybe empty. |
...
ExtendActivity
Brief Detail informtion of the extend activity.
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
id | String | Yes | id of the activity | |
name | String | Yes | name of the activity | |
description | String | No |
description of the activity | ||||
category | String | No | Categorization to help better experience to the Designer while building the work-flow | |
icon | IConData | No | the icon to show |
ExtendActivity
Detail informtion of the extend activity.
Name | Data Type | Required | Description | Comment | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | String | Yes | id of the activity | name | String | Yes | name of the activity | description | String | No | description of the activity | category | String | No | Categorization to help better experience to the Designer while building the work-flow | |
type | Enum | Yes | activity type, valid values as follow: java - Service(Java) Task script - Script Task rest - Rest Task | |||||||||||||
activity | JavaTask|ScriptTask|RestTask | Yes | Type related bpmn task information of the activity. These information will be used by the workflow engine. | JavaTask for Service(Java) Task, ScriptTask for Script Task, RestTask for Rest Task. |
...