cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Run If True Problems

Jump to solution

Hi, 

 

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 mrsmith@work.com  Or if Mr Green, Mr Green is true and email mrgreen@work.com 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. 

 

Thanks 

 

Stacey 

Labels: (2)
0 Kudos
Reply
3 Replies
Nintex Newbie

Re: Run If True Problems

Jump to solution

Anybody?? :)

0 Kudos
Reply
Highlighted
Community Manager Community Manager
Community Manager

Re: Run If True Problems

Jump 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:

 

Rule.png

Example Rule:

ifElse([Form].[Name Selection]=="Jonathan","jonathan.butler@nintex.com",(ifElse([Form].[Name Selection] == "Ford","ford.burton@nintex.com", ifElse([Form].[Name Selection]=="Brent","brent.read@nintex.com",""))))

Example.png

 

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:

Workflow.png

 

Hope that helps!

View solution in original post

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Run If True Problems

Jump to solution

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. 

 

Thanks 

 

Stacey 

0 Kudos
Reply