@onlineapps/conn-orch-orchestrator 1.0.15 → 1.0.17
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
|
@@ -266,13 +266,8 @@ class WorkflowOrchestrator {
|
|
|
266
266
|
*/
|
|
267
267
|
async _executeTaskStep(step, context) {
|
|
268
268
|
// Resolve variable references in step.input (e.g. ${steps[0].output.message})
|
|
269
|
-
|
|
270
|
-
console.log(`[WorkflowOrchestrator] [RESOLVE] Context keys:`, Object.keys(context || {}));
|
|
271
|
-
console.log(`[WorkflowOrchestrator] [RESOLVE] Context.input_file:`, context?.input_file);
|
|
272
|
-
console.log(`[WorkflowOrchestrator] [RESOLVE] Context.steps:`, JSON.stringify(context.steps?.map(s => ({ id: s.id, output: s.output }))));
|
|
273
|
-
|
|
269
|
+
// Resolve variable references in step.input (e.g. ${api_input.file}, ${steps[0].output.message})
|
|
274
270
|
const resolvedInput = this._resolveInputReferences(step.input, context);
|
|
275
|
-
console.log(`[WorkflowOrchestrator] [RESOLVE] Step ${step.id} input AFTER:`, JSON.stringify(resolvedInput));
|
|
276
271
|
|
|
277
272
|
// Use API mapper to call the service with resolved input
|
|
278
273
|
const result = await this.apiMapper.callOperation(
|