anderj39
Workflow Hero

Adding a rule with a cascading dropdown value?

I need to make a Rule when a certain dropdown value is selected, another field becomes visible.  The dropdown is from a lookup list.

 

However, when I go to add the rule, I only have the "is empty" or "is filled" option.  I need the "equals" option.

 

How can I make that happen on Nintex Responsive Designer?Capture.PNG

0 Kudos
Reply
4 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Adding a rule with a cascading dropdown value?

Hi,

What happens if you add the list lookup to a variable and then create a rule that says if the variable is equal to "value"

Then control Visible Yes.

0 Kudos
Reply
anderj39
Workflow Hero

Re: Adding a rule with a cascading dropdown value?

Doesn't seem to work.  Am I doing something wrong?

My variable and rule:

 

 

0 Kudos
Reply
anderj39
Workflow Hero

Re: Adding a rule with a cascading dropdown value?

Also tried this variable.  No dice.

 

Capture.PNG

0 Kudos
Reply
nico
Process Pupil

Re: Adding a rule with a cascading dropdown value?

You were close,

 

The only things that I have found to do the job is using the lookup fonction to set a variable, and use this variable in a rule.

You need to

- get the control value

- use the parseLookup fonction, to get the id

- cast in number

- use lookup fonction to get the text value

 

Like :

lookup("lookupListTitle","ID",convertToNumber(parseLookup([Form].[LookupControl],false)),"Title")

 

 


@anderj39 wrote:

Also tried this variable.  No dice.

 

Capture.PNG

0 Kudos
Reply