...
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
class | String | Yes | The implement class of the bpmn service task | |
inputs | Map<String, Input> | No | The input parameter definitions of the task. key - Input parameter name value - Input parameter definition | These parameters will dispaly on UI for designer to fullfill. |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
[
{
"id":"extend-activity-id",
"name":"Stop Traffic",
"description":"Stop Traffic",
"type":"serviceTask",
"icon":{
"name":"stop-traffic",
"width":56,
"height":56
},
"activity":{
"class":"org.onap.activity.ext.StopTrafficServiceTask",
"inputs":{
"param1":{
"type":"string",
"default":"value1",
"required":true,
"constraints":[
],
"displayName":"aaa",
"show":true
},
"param2":{
"type":"string",
"default":"value2",
"required":false,
"constraints":[
]
}
}
}
}
] |
ScriptTask
Name | Data Type | Required | Description | Comment |
---|---|---|---|---|
format | String | Yes | The default script format, For example: javascript groovy | |
script | String | Yes | The default script content. |
...