Highlighted

Database trigger to start workflow

Idde1969

11-04-2019

Hi,

I am looking for a way to trigger a workflow using a database trigger. I want to start a workflow when there is a new row in the nms:inSms table rather than having a workflow querying the schema every n minutes.

Best regards,

Martin Grape

Replies

Highlighted

Venu_Reddy

MVP

11-04-2019

Hi Idde1969​,

You can trigger a workflow with the help of  soap call once new record is inserted in the schema.

Regards,

Venu

Highlighted

wodnicki

MVP

12-04-2019

Hi,

Use a shell call in your db trigger, `nlserver runwf -instance:<instance> -name:<internal name of workflow>`.

Thanks,

-Jon