Skip to main content
Nintex Community Menu Bar

How to run an IF/ELSE function on many data variables with one Data Event?

  • January 9, 2020
  • 1 reply
  • 13 views

In my workflow in K2 Studio, I'm trying to perform an IF... THEN... function on 30 data fields. Is there a smarter way I can do this than by creating 30 IF... THEN... entries?

 

Ideally, the logic would look like this

IF (DataField == 'true') THEN {DataField = '<b>' + DataField + '</b>'}

I'm using K2 Designer and K2 Studio.

 

Thank you!

 

1 reply

Forum|alt.badge.img+8
  • June 23, 2020

Hi mitch,


 


What happens if you use a Code Reference Event in your K2 Studio project?