diff --git a/packages/server/src/api/routes/tests/rowAction.spec.ts b/packages/server/src/api/routes/tests/rowAction.spec.ts index 4fe248984a..a58053d6cd 100644 --- a/packages/server/src/api/routes/tests/rowAction.spec.ts +++ b/packages/server/src/api/routes/tests/rowAction.spec.ts @@ -698,6 +698,8 @@ describe("/rowsActions", () => { inputs: null, outputs: { fields: {}, + id: rowId, + revision: (await config.api.row.get(tableId, rowId))._rev, row: await config.api.row.get(tableId, rowId), table: { ...(await config.api.table.get(tableId)), diff --git a/packages/server/src/sdk/app/rowActions.ts b/packages/server/src/sdk/app/rowActions.ts index 21c256eacb..0fbd7f664e 100644 --- a/packages/server/src/sdk/app/rowActions.ts +++ b/packages/server/src/sdk/app/rowActions.ts @@ -220,6 +220,8 @@ export async function run(tableId: any, rowActionId: any, rowId: string) { automation, { fields: { + id: row._id, + revision: row._rev, row, table, },