diff --git a/packages/workflow/src/Expression.ts b/packages/workflow/src/Expression.ts index 2b65ef03b8..b7fd4d0138 100644 --- a/packages/workflow/src/Expression.ts +++ b/packages/workflow/src/Expression.ts @@ -112,6 +112,9 @@ export class Expression { versions: process.versions, }; + // @ts-ignore + data.document = {}; + // Execute the expression try { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call