Skip to main content
Nintex Community Menu Bar
Solved

Change on dropdown did not trigger rule

  • Jul 9, 2017 11:17 AM UTC
  • 4 replies
  • 46 views
  • Translate All

Forum|alt.badge.img+3

I have a Company Type dropdown, when I make change, it use rule to lookup to the company types list to show/hide some field. The rule only apply for first time when it load the page. At runtime, if I made change on the Company Type, the rule won't apply. Any idea?

205405_pastedImage_1.png

205406_pastedImage_2.png

205407_pastedImage_3.png

205408_pastedImage_4.png

Best answer by jackgelo

Hi,

because the dropdown is a lookup column, you need to wrap your drpCompanyType reference with the parseLookup function (it should become parseLookup(drpCompanyType, true) ), that's because the Named Control of a lookup field doesn't store only the text value but also the ID, so it wasn't able to resolve all your lookup function..

View original

4 replies

Forum|alt.badge.img+11
  • Nintex Partner
  • Jul 10, 2017 8:05 AM UTC

Hi,

have you put in your rule the reference to the named control associated to your dropdown or to the item property? Item property keeps the value on form load while named control update the stored value based on the current value in the form..

Giacomo

Translate

Forum|alt.badge.img+3
  • Author
  • Jul 10, 2017 9:39 AM UTC

Did change to control associated with the dropdown already. But still the same.

Translate

Forum|alt.badge.img+11
  • Nintex Partner
  • Answer
  • Jul 10, 2017 9:54 AM UTC

Hi,

because the dropdown is a lookup column, you need to wrap your drpCompanyType reference with the parseLookup function (it should become parseLookup(drpCompanyType, true) ), that's because the Named Control of a lookup field doesn't store only the text value but also the ID, so it wasn't able to resolve all your lookup function..

Translate

Forum|alt.badge.img+3
  • Author
  • Jul 10, 2017 10:11 AM UTC

Yes. Thanks! Its work now.

Translate