Skip to main content

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? 

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,


 


Understood. What exactly do I do in the code behind though? Just return false? Or is there a property that I need to set?

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,


 


Reply