52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"type": "Sensor Bot Instance",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration",
|
|
"dontShowAtFullscreen": true,
|
|
"actionFunction": "uiObject.configEditor.activate"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Process Instance",
|
|
"relatedUiObject": "Sensor Process Instance",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting",
|
|
"relatedUiObjectProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"isTitleAllwaysVisible": true,
|
|
"addLeftIcons": true,
|
|
"editors": {
|
|
"config": true
|
|
},
|
|
"initialValues": {
|
|
"config": "{ \n\"startDate\": \"2021-01-01\"\n}"
|
|
},
|
|
"level": 3,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Task->"
|
|
},
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "processes",
|
|
"type": "array",
|
|
"childType": "Sensor Process Instance",
|
|
"autoAdd": false
|
|
}
|
|
],
|
|
"propertyNameAtParent": "bot"
|
|
} |