Focal Point
[SOLVED] Execute iWay process from oracle database trigger.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/9377061576

March 16, 2015, 06:00 PM
David Nguyen
[SOLVED] Execute iWay process from oracle database trigger.
I have an iWay Data Migrator process flow to move data from table A1 in database A to table B1 in database B. I can setup a schedule to keep checking table A1 every minute and call the process flow to transfer data (if there is any).
However, I don't want to keep checking the table. Instead, I prefer building an Oracle database trigger on table A1 and only call iWay process if needed. Would this be possible? Thank you very much.

Regards,
David Nguyen

This message has been edited. Last edited by: <Kathryn Henning>,


iWay Data Migrator v7704M
Windows, All Outputs
March 18, 2015, 01:04 PM
David Nguyen
I found a solution for this issue. We can execute an iWay flow using a CMRUN command. There is an example on how to use this command in the section about Event-Based Scheduling in iWay user guide.
For my case, I put this command in a batch file (*.bat) file and call this file whenever I need to execute the iWay flow. In Oracle DB, we can execute the batch file by creating an Oracle Job Scheduler. Hope this helps.
Please let me know if you have better approach. Thanks.


iWay Data Migrator v7704M
Windows, All Outputs