Kinetic Dashboard, Updatable BAQ, BPM Behavior ? (Conversion from Classic)

I have a dashboard, paired with an updatable BAQ, and UBAQ method directive that triggers on row Updates.

The method directive simply sends an email (depending on a condition) for the updated row.

I have converted it from Classic to Kinetic-Web and noticed the following difference between Classic and Kinetic behavior:

  • In Classic, if a row is modified as soon as a new row is selected, an update is automatically done which triggers the BPM and the email is sent
  • In Kinetic, multiple rows can be modified and the BPM does not trigger until you select “Update” from the dashboard menu

This causes the BPM to still send an email, but it’s a single email, with the data from all modified rows concatenated together (separated by semicolons). So I end up with multiple To: addresses, multiple subjects, multiple bodies…

(Aside from the fact that having multiple values separated by semicolons isn’t very useful if your values themselves might have semicolons in them), I’m struggling to find a way around this to be able to send multiple emails.

I’ve looked at the debug trace, views, system views, but I don’t see a solution.

Grateful for any thoughts/ideas

I was able to solve this, in case it’s useful, documenting here.

In my BPM I wrote some custom code that using a for loop, iterated thru the set of modified rows passed to the BPM.

Inside the for loop I called a new function I created, the function is a Widget function,
I simply passed the needed parameters (To, Subject, Body, etc) to the Widget function
and used the Send Email widget to send the emails

I will come back and add the custom code and other details to the post when I get things finished

1 Like

Hi, Very interested in seeing your solution code. Please post or contact me directly.

Many thanks …