Run row action as sync
This commit is contained in:
parent
8ec5f49f4a
commit
5ac5a63dc5
|
@ -216,11 +216,15 @@ export async function run(tableId: any, rowActionId: any, rowId: string) {
|
|||
const automation = await sdk.automations.get(rowAction.automationId)
|
||||
|
||||
const row = await sdk.rows.find(tableId, rowId)
|
||||
await triggers.externalTrigger(automation, {
|
||||
fields: {
|
||||
row,
|
||||
table,
|
||||
await triggers.externalTrigger(
|
||||
automation,
|
||||
{
|
||||
fields: {
|
||||
row,
|
||||
table,
|
||||
},
|
||||
appId: context.getAppId(),
|
||||
},
|
||||
appId: context.getAppId(),
|
||||
})
|
||||
{ getResponses: true }
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue