Conditional Workflow
complete
D
Daniel Depaz
We don't have conditional workflow email functionality in Siteglide.
E.g. If our forms are the same and only workflow email is different according to their location. like Martinique and Guadeloupe and Guyane. Then we have to create 3 different forms. We don't have the option to Set different workflow emails according to their locations.
- We need functionality like, We should be able to add different emails in workflow depending upon field value.
- And the Conditional logic should apply on the Dropdown or Radio button selected by the user.
Log In
Matt Walter
complete
Added this answer to Forum here -> https://forum.siteglide.com/question/conditional-workflow---how-to-set-email-recipient-dynamically-618cd028c4a32661768b1b75/answer
Matt Walter
planned
Matt Walter
Daniel Depaz - Are you happy that this is now resolved? I'm not sure how we'd get this working in the Form Builder UI. Perhaps we should just document it.
S
Sunil
Matt Walter: Thanks Matt and Devon. I have done this thing in our site. And it's working fine. But only developer can change the email. Because we need to update the email in javascript code. If possible try to implement in Form Builder UI. Otherwise it's fine.
B
Bob Peterson
I agree with Devon. I've done the same thing with a WebApp providing the emails that the workflow email needs to be sent to. With liquid and Javascript, we query the value of a field (a dropdown to make it consistent), do a lookup to the WebApp and retrieve the list of emails that the workflow needs to be sent to. The hidden field is set to the value of the WebApp lookup result. The Workflow "To:" address is the value of the hidden field. Works like a charm!!!
D
Daniel Depaz
Bob Peterson: Thanks, we will try that.
D
Devon Reehl
Daniel Depaz This is possible using existing functionality.
This is how we're doing it: https://www.loom.com/share/a28c59950e704c76b5cd301f02e57a69
S
Sunil
Devon Reehl: Thank you Devon. It's working fine.