BPM to send email

I added one to the standard DD that works if the field is changed. If I want to add one the fires if the sales order is created. How do I call the standard DD from the in trans? If I do enable standard D how do i tell it which one to fire?

In the standard it has a condition this directive has been enabled from and you pick the in trans that matches.

I added it to the DD but it still will not fire an email if the sales order is added new and that field has been changed. Any ideas? It is just a UD field that they enter a value in.

For added I don’t think it will be a change detected. Try There is at least one added row in the specified table and The specified field of the added row is not equal to the specified expression and put string.Empty in the expression

I got this working. Thank you for all of the help!

Ok, please share with the class :popcorn:

I used Olga’s suggestion and put in messaging around my condition to see if it fired or not.

I used the Erp.BO.SalesOrder.MasterUpdate method on pre-processing. I changed the condition to
image

And it fires the email. It seems that it was being picky on the condition.

1 Like

In the words of @Mark_Wonsil

2 Likes