BPM To Send Email When AP Invoice Posted

Hello group,

I’m trying to create a BPM to send an email when a user posts an AP Invoice, but I can’t figure out which method to use. I’ve tried LogAPInv.Update and APInvoice.Update, along with a few others.

All I really need to know is what method is triggered when a user presses the Submit button. Any help is much appreciated. Thanks for your time!

You can’t trigger a BPM off a System Task at least not easily. One thing you could do is do a Data Directive off the POSTED Flag on the AP Invoice Table. (though I am not 100% sure they fire DD’s… but its worth a shot)

1 Like

Thank you Jose! That was the answer. I was trying to do it through the Method Directive, didn’t even think of the Data side of it. I created the BPM using the Data Directive and LogAPInv table, had it check for the Posted field to be true, then fire off an email. It worked perfectly. Thanks again!

1 Like

Like Jose said, it’s not always straightforward when triggering off of a sys task but it can be done (and be useful)

2 Likes