We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2015080 commit fc35eb6Copy full SHA for fc35eb6
packages/respect-core/src/modules/flow-runner/run-step.ts
@@ -89,10 +89,17 @@ export async function runStep({
89
const workflowInputParameters = resolvedParameters
90
.filter(isParameterWithoutIn)
91
.reduce((acc, parameter: ParameterWithoutIn) => {
92
+ const ctxWithInputs = {
93
+ ...ctx,
94
+ $inputs: {
95
+ ...(ctx.$inputs || {}),
96
+ ...(workflowId ? ctx.$workflows[workflowId]?.inputs || {} : {}),
97
+ },
98
+ };
99
// Ensure parameter is of type ParameterWithoutIn
100
acc[parameter.name] = getValueFromContext({
101
value: parameter.value,
- ctx,
102
+ ctx: ctxWithInputs,
103
logger: ctx.options.logger,
104
});
105
return acc;
0 commit comments