oms-OnlineResourceWatcher/Admin/Install/Workflow.install.json
Dennis Eichhorn d73eb8aec2
Some checks failed
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:06 +00:00

90 lines
2.5 KiB
JSON

{
"triggers": [
],
"actions": {
"1008000001": {
"name": "Check resources",
"description": {
"en": "Check resources",
"de": "Ueberpruefe Ressourcen"
},
"function_type": "Api",
"function": "apiCheckResources",
"module": "OnlineResourceWatcher",
"inputs": [
"unit",
"{*}"
],
"outputs": [
"resources[]",
"{*}"
],
"settings": {
"unit": {
"type": "input",
"subtype": "number",
"default": null,
"title": {
"en": "Unit",
"de": "Unit"
}
}
}
},
"1008000002": {
"name": "Inform users",
"description": {
"en": "Inform users about changes",
"de": "Informiere Nutzer über Änderungen"
},
"function_type": "Api",
"function": "informUsers",
"module": "OnlineResourceWatcher",
"inputs": [
"unit",
"{*}"
],
"outputs": [
"resources[]",
"{*}"
],
"settings": {
"unit": {
"type": "input",
"subtype": "number",
"default": null,
"title": {
"en": "Unit",
"de": "Unit"
}
}
}
}
},
"workflows": {
"OnlineResourceWatcher": [
{
"id": "1005500005",
"settings": {
"interval": "0 3 * * *"
},
"children": [
{
"id": "1008000001",
"comment": "Check resources",
"settings": {},
"children": [
{
"id": "1008000002",
"comment": "Inform changed ",
"settings": {},
"children": [
]
}
]
}
]
}
]
}
}