fix: Use computed parameters for dataIn field of execution steps
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
8512528fcf
commit
fb7e679230
@@ -78,22 +78,12 @@ class Processor {
|
||||
fetchedActionData = await command.run();
|
||||
}
|
||||
|
||||
console.log(
|
||||
'previous execution step dataOut :',
|
||||
previousExecutionStep?.dataOut
|
||||
);
|
||||
|
||||
console.log(
|
||||
'previous execution step parameters :',
|
||||
previousExecutionStep?.step.parameters
|
||||
);
|
||||
|
||||
previousExecutionStep = await execution
|
||||
.$relatedQuery('executionSteps')
|
||||
.insertAndFetch({
|
||||
stepId: id,
|
||||
status: 'success',
|
||||
dataIn: isTrigger ? rawParameters : previousExecutionStep?.dataOut,
|
||||
dataIn: isTrigger ? rawParameters : computedParameters,
|
||||
dataOut: isTrigger ? data : fetchedActionData,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user