Status Report and Execution Finished Event Implementation part 1
This commit is contained in:
1 parent
64b238af43
commit
4f9c4bd403
11 files changed
+273
No files matched your search
@@ -1209,6 +1209,34 @@ function newProtocolNode () {
|
||||
}
|
||||
return object
|
||||
}
|
||||
case 'Status Report': {
|
||||
let object = {
|
||||
type: node.type,
|
||||
subType: node.subType,
|
||||
name: node.name
|
||||
}
|
||||
if (includeIds) {
|
||||
object.id = node.id
|
||||
}
|
||||
if (includePayload) {
|
||||
object.savedPayload = getSavedPayload(node, includeReferences)
|
||||
}
|
||||
return object
|
||||
}
|
||||
case 'Execution Finished Event': {
|
||||
let object = {
|
||||
type: node.type,
|
||||
subType: node.subType,
|
||||
name: node.name
|
||||
}
|
||||
if (includeIds) {
|
||||
object.id = node.id
|
||||
}
|
||||
if (includePayload) {
|
||||
object.savedPayload = getSavedPayload(node, includeReferences)
|
||||
}
|
||||
return object
|
||||
}
|
||||
case 'Calculations Procedure': {
|
||||
let object = {
|
||||
type: node.type,
|
||||
|
||||
Reference in new issue
Block a user