@onlineapps/conn-orch-orchestrator 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -280,9 +280,14 @@ class WorkflowOrchestrator {
|
|
|
280
280
|
* @returns {Promise<Object>} API call result
|
|
281
281
|
*/
|
|
282
282
|
async _executeTaskStep(step, context) {
|
|
283
|
-
//
|
|
284
|
-
|
|
283
|
+
// Debug: log context.steps keys
|
|
284
|
+
console.log(`[WorkflowOrchestrator] [RESOLVE] Step ${step.step_id} - context.steps keys:`,
|
|
285
|
+
context.steps ? Object.keys(context.steps) : 'NO STEPS');
|
|
286
|
+
|
|
287
|
+
// Resolve variable references in step.input (e.g. {{steps.step_id.output.field}})
|
|
288
|
+
console.log(`[WorkflowOrchestrator] [RESOLVE] Step ${step.step_id} input BEFORE:`, JSON.stringify(step.input));
|
|
285
289
|
const resolvedInput = this._resolveInputReferences(step.input, context);
|
|
290
|
+
console.log(`[WorkflowOrchestrator] [RESOLVE] Step ${step.step_id} input AFTER:`, JSON.stringify(resolvedInput));
|
|
286
291
|
|
|
287
292
|
// Use API mapper to call the service with resolved input
|
|
288
293
|
const result = await this.apiMapper.callOperation(
|