Nintex novice here - hoping someone may be able to help.
I have a questionnaire form setup with various answers.
I have a hidden boolean group which based on answer would populate.
ie. If Single Choice Contracts Manager drop down = Mr Smith then the Boolean for Mr Smith is true then within the workflow I have several run if true actions saying if Mr Smith boolean is true then email email@example.com Or if Mr Green, Mr Green is true and email firstname.lastname@example.org and so on. There is about 6 options in total.
The whole thing works perfect if I keep the boolean group visible but as soon as I hide it from the published form view the workflow no longer sends the email to the Contracts Manager.
Does anyone know where I am going wrong?
Any help would be appreciated.
Solved! Go to Solution.
@StaceyLee instead of using a hidden boolean group on your form, I would suggest using Form variables instead using the ifElse runtime function. These can still be accessed as Start Event variables within your workflow, and will calculate regardless of hidden fields:
ifElse([Form].[Name Selection]=="Jonathan","email@example.com",(ifElse([Form].[Name Selection] == "Ford","firstname.lastname@example.org", ifElse([Form].[Name Selection]=="Brent","email@example.com",""))))
I would also suggest maybe using a 'Branch by value' action within your workflow instead of nested conditional statements, as it might make your workflow a little easier to manage:
Hope that helps!
Thanks for your reply.
I just couldn't get my head around why it would work while the form control was visible but as soon as I hid the control is wouldnt work anymore.