lee mcdermott Posted October 12, 2023 Posted October 12, 2023 Hi, Does anyone know how I can configure a decision in the BP (workflow) to email a customers manager if the manager field is populated but if it is not populated send an email based on a field that is populated on the capture form? Basically not all users in the system (syncs with our AD) has the manager field populated. So if it is populated that is fine i can configure the Hornbill automation node to send an email to the manager. But if it turns out the customers manager is not populated in hornbill it isnt going to send any email so I thought a decision node might work but no idea how to configure it or if this in fact would work? I want it to send to manager but if the field is blank it will email based on a field populated on the form instead. thanks lee
Steven Boardman Posted October 13, 2023 Posted October 13, 2023 @lee mcdermott you should be able to do that check in the workflow If you use a Hornbill Automation > Request > Get Request Info > Customer Information node and follow this by a decision node, you can add two expressions This will check if there is a Manager name held against the record of the customer of the request You can then use the workflow to use the email address of the manager if one exists, but if not use the information from your capture form. Hope that helps
lee mcdermott Posted October 13, 2023 Author Posted October 13, 2023 @Steven Boardman Hi steve many thanks for that. I think my thinking and logic was correct then with the decision option but I had no idea how to check if the field was populated. i will give this a go thanks lee
lee mcdermott Posted October 13, 2023 Author Posted October 13, 2023 @Steven Boardman thanks steve that has worked a treat. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now