Fix async loading of steps
This commit is contained in:
parent
e3707982de
commit
52aaac8e44
|
@ -34,8 +34,8 @@ class Orchestrator {
|
||||||
if (!workflow.live) {
|
if (!workflow.live) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
for (let block of workflow.steps) {
|
for (let block of workflow.definition.steps) {
|
||||||
let step = this.getStep(block.type, block.stepId)
|
let step = await this.getStep(block.type, block.stepId)
|
||||||
let args = { ...block.args }
|
let args = { ...block.args }
|
||||||
// bind the workflow action args to the workflow context, if required
|
// bind the workflow action args to the workflow context, if required
|
||||||
for (let arg of Object.keys(args)) {
|
for (let arg of Object.keys(args)) {
|
||||||
|
|
Loading…
Reference in New Issue