Skip to main content
Nintex Community Menu Bar

Line rule with array variable

  • October 24, 2008
  • 3 replies
  • 9 views

Forum|alt.badge.img+3

In my situation, I have a string table value with a string that is delimited by a semi-colon. So in regards to a line rule, I want to evaluate each string from the string table entry to a datafield value. If the datafield is equal to one of those string table values within the array, then proceed with the line. Else don't proceed.

 

Is there something in the code for the line rule to execute a cancel? 

3 replies

Forum|alt.badge.img+6
  • October 24, 2008

Hi Zeppelin,


AFAIK you wont be able to do that with the GUI line rule editor but you will be able to go into the code behind and write C# code to accomplish this.


Cheers,


 


Forum|alt.badge.img+3
  • Author
  • October 24, 2008
Understood. What exactly do I do in the code behind though? Just return false? Or is there a property that I need to set?

Forum|alt.badge.img+6
  • October 28, 2008

Yup, it will evaluate to true or false. you can create a simple line rule and then look at the code behind that it generates for it. Same principle will apply for your case.


Hope that helps,