How to execute a stored procedure AFTER OnSavingRow has completed

22 views
Skip to first unread message

Keith Canniff

unread,
Jul 13, 2021, 3:28:21 PM7/13/21
to Migrated By Firefly
We have a stored procedure we want to execute but only after the record has been saved back to the database (in a UI Controller)

I can do it the old "Magic" way of having a cycle delay variable that I set in OnSavingRow and then if the flag is true execute the stored procedure, but that just seems to be old school. 

Suggestions? 

Keith

renato.d...@gmail.com

unread,
Jul 13, 2021, 3:58:56 PM7/13/21
to Keith Canniff, Migrated By Firefly

You could try creating an ‘AfterSavingRow’ Event Handler and plug it in there. I believe this is fired before the transaction is committed, so this may or may not work for you depending on what you are trying to achieve.

 

Renato.

--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/migrated-by-firefly/4012e334-9e9f-4c9a-a968-9bcab8356647n%40googlegroups.com.

Noam Honig

unread,
Jul 13, 2021, 4:38:57 PM7/13/21
to renato.d...@gmail.com, Keith Canniff, Migrated By Firefly

kcan...@integrateone.com

unread,
Jul 13, 2021, 4:49:42 PM7/13/21
to Noam Honig, renato.d...@gmail.com, Keith Canniff, Migrated By Firefly

I knew there was an AfterSavingRow but couldn’t find it in the doc.

 

Thanks,

 

Keith Canniff
President and CTO
IntegrateOne LLC
www.integrateone.com
678-485-8665

image001.png
image002.png
image003.png
image004.png
Reply all
Reply to author
Forward
0 new messages