BAQ to identify method/data directives with "email to" widget

Hello experts!
I’ve been asked to deliver a list of all method and data directives that trigger emails as part of the bpm. Has anyone built a baq/dashboard to display the directive and even the email addresses tied to the directive?

Steve

1 Like

That’s tough cause you’re using variables in the widget at times if the email address is based on a field (dynamic), though if you are typing it out that should be in there as plain text.

Either way, I think @hkeric.wci linked me the table the other day because I needed to do something similar. Bartender Printer not printing in BT file - #6 by hkeric.wci

The table BpDirective has a field called Body. This is where those emails or variables would show up. I hope this helps. Good luck!

4 Likes

Thanks Utah and Nate! That’s very helpful and gave a more manageable list. Where would I find the actual email address that is part of the widget, as seen in the email template?

The email To, Cc, etc. are in the body. Exmaple.

          <ilbma:SendMailAction.To>
            <StructuredMessage>
              <StructuredMessage.Items>
                <x:String>chaddb@idplate.com</x:String>
              </StructuredMessage.Items>
            </StructuredMessage>
          </ilbma:SendMailAction.To>
3 Likes

@Cyclonaut, if you query that table and the field @NateS just talked about, you’ll see what @chaddb is showing you here… so if you can make something out of that, that’s how it works.

https://www.epiusers.help/t/baq-for-retrieving-email-addresses-used-in-bpm-mail-widgets/111158

3 Likes

Wow… Wonsil to the rescue. Fire post… will not forget that.

1 Like