diff --git a/packages/plugins/workflow/src/client/nodes/manual/WorkflowTodo.tsx b/packages/plugins/workflow/src/client/nodes/manual/WorkflowTodo.tsx index 8ca994784c..0e0a7c53f0 100644 --- a/packages/plugins/workflow/src/client/nodes/manual/WorkflowTodo.tsx +++ b/packages/plugins/workflow/src/client/nodes/manual/WorkflowTodo.tsx @@ -379,15 +379,15 @@ function useFlowRecordFromBlock(opts) { function FlowContextProvider(props) { const api = useAPIClient(); - const { id, node, executionId } = useRecord(); + const { id, node } = useRecord(); const [flowContext, setFlowContext] = useState(null); useEffect(() => { - if (!executionId) { + if (!id) { return; } api.resource('users_jobs').get?.({ - filterByTk: executionId, + filterByTk: id, appends: ['workflow', 'workflow.nodes', 'execution', 'execution.jobs'], }) .then(({ data }) => {