fix(workflows): ensure organization ID is set for webhook executions

Resolves webhook failures due to missing organizationId assignment during
workflow executions. This hot-fix ensures proper organizational context
is maintained for webhook-triggered workflows, preventing user-specific
failures and ensuring consistent automation behavior across different accounts.

Changes:
- Set user.organizationId from appVersion.app.organizationId in workflow execution service
- Apply fix to both processQueryNode and processWorkflowNode execution paths
- Ensure webhook executions use app's organization context instead of user context

Migrated from: https://github.com/ToolJet/tj-ee/pull/3762

Co-authored-by: Muhsin <muhsin@tooljet.com>
This commit is contained in:
Akshay Sasidharan 2025-07-03 19:42:52 +05:30
parent 48afde3582
commit cf3fbfc2cb

@ -1 +1 @@
Subproject commit 431b9856cf0d849539f1e166cf1e6c1c0ccde6ab
Subproject commit 076a96e7614285c57bfdf2f2729247aefbc8c80e