Webhooks Cleaned
This commit is contained in:
1 parent
e99f3abd0c
commit
5c9afee90d
2 files changed
+38
-48
No files matched your search
@@ -756,7 +756,7 @@ function newSuperalgosFunctionLibraryTaskFunctions() {
|
||||
}
|
||||
|
||||
let botInstance
|
||||
switch (TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.type) {
|
||||
switch (bot.type) {
|
||||
case 'Sensor Bot': {
|
||||
botInstance = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(task, 'Sensor Bot Instance')
|
||||
botInstance.name = bot.name
|
||||
@@ -782,7 +782,7 @@ function newSuperalgosFunctionLibraryTaskFunctions() {
|
||||
for (let j = 0; j < bot.processes.length; j++) {
|
||||
let process = bot.processes[j]
|
||||
let processInstance
|
||||
switch (TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.type) {
|
||||
switch (bot.type) {
|
||||
case 'Sensor Bot': {
|
||||
processInstance = UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.addUIObject(botInstance, 'Sensor Process Instance')
|
||||
processInstance.payload.referenceParent = process
|
||||
|
||||
Reference in new issue
Block a user