Store trigger output (#11503)
As title. Trigger output is the workflow payload
This commit is contained in:
@ -97,6 +97,11 @@ export class RunWorkflowJob {
|
||||
trigger: workflowVersion.trigger,
|
||||
steps: workflowVersion.steps,
|
||||
},
|
||||
stepsOutput: {
|
||||
trigger: {
|
||||
result: payload,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@ -106,7 +106,7 @@ export class WorkflowRunWorkspaceService {
|
||||
}: {
|
||||
workflowRunId: string;
|
||||
context: Record<string, any>;
|
||||
output: Pick<WorkflowRunOutput, 'flow'>;
|
||||
output: WorkflowRunOutput;
|
||||
}) {
|
||||
const workflowRunRepository =
|
||||
await this.twentyORMManager.getRepository<WorkflowRunWorkspaceEntity>(
|
||||
|
||||
Reference in New Issue
Block a user