ToolJet/server
Akshay Sasidharan cf3fbfc2cb 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>
2025-07-03 19:42:52 +05:30
..
data-migrations Secure PAT for AppEmbeddings (#12899) 2025-06-27 12:18:25 +05:30
ee@076a96e761 fix(workflows): ensure organization ID is set for webhook executions 2025-07-03 19:42:52 +05:30
lib feat: migrate PR #3713 - Workflows Sprint 10 2025-07-03 11:44:31 +05:30
migrations Secure PAT for AppEmbeddings (#12899) 2025-06-27 12:18:25 +05:30
scripts fix for plugin scripts (#13055) 2025-06-20 14:30:52 +05:30
src feat: migrate PR #3745 - Release: Workflow prioritised client issues (v3.5.62-ee-lts) 2025-07-03 18:44:40 +05:30
templates Initial commit 2025-02-25 12:22:50 +05:30
test Prevent Stringify Query Resolved Value (#12788) 2025-06-25 18:40:13 +05:30
.eslintignore Fix linting errors across the app (#785) 2021-09-21 19:18:28 +05:30
.eslintrc.js Initial commit 2025-02-25 12:22:50 +05:30
.gitignore Initial commit for nestjs 2021-07-08 11:10:27 +05:30
.node-version Revise node and npm version (#408) 2021-07-19 12:38:44 +05:30
.npmrc specify node and npm version for server (#405) 2021-07-19 08:48:59 +05:30
.version chore: version bump 2025-06-20 15:44:56 +05:30
data-migration-config.ts Node upgrade 18->22 (#12836) 2025-06-17 13:01:46 +05:30
jest.config.ts Prevent Stringify Query Resolved Value (#12788) 2025-06-25 18:40:13 +05:30
nest-cli.json Revamp: user journey emails (#9223) 2024-04-01 18:11:42 +05:30
ormconfig.ts Node upgrade 18->22 (#12836) 2025-06-17 13:01:46 +05:30
package-lock.json feat: trigger workflows with their name or id 2025-07-01 13:02:15 +05:30
package.json Adding Cloud plugin scripts (#12995) 2025-06-20 12:59:17 +05:30
README.md Initial commit for nestjs 2021-07-08 11:10:27 +05:30
tsconfig.build.json Fixed: tsconfig oauth build issue 2025-02-25 14:54:54 +05:30
tsconfig.json Initial commit 2025-02-25 12:22:50 +05:30

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.