Hi Guys, how I can triggered email while updating ...
# general
a
Hi Guys, how I can triggered email while updating Sales Order record, not creating Sales Order record via Saved Searches? Right now, it's triggered for both creating and updating records. Any idea? Thanks!
g
what kind of methods did you use?
User event script?
a
@GenDev I am sending email via Saved Searches, not using scripting
g
you mean you are creating or updating records using saved search?
a
@GenDev manually creating and updating Sales Order, based on that sending email to logged in user.
But want to send an email only on updating record
@GenDev not while creating SO records
g
you mean you want to search updated SOs not created SOs
a
@GenDev yes
g
I see
add custom field to SO as a flag
it stores whether the SO is updated or not
and update the custom field value when you update SO
so you need to add one custom field
and deploy one UE script
a
@GenDev why we need UE script?
g
Copy code
and update the custom field value when you update SO
for this
a
@GenDev okay, got it... let me try it... thanks!
g
Np
a
Hi @GenDev, thank you so much, it's working now as expected.
g
that's good
😊 1