Quantcast
Channel: Ivanti User Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 15294

Condition based on 3 attributes

$
0
0

Hi All

 

Calculations is not one of my strong points and am hoping someone out there can help with this issue:

 

Scenario:

 

In Request, I have a collection call "col" with two boolean values (Boo1 and Boo2) and a user field (user).

 

I need a condition that returns true.  So far I have:

 

Value = 'False"

Var=Request.col.Latest()

if var.boo1.ToText() == 'True' and var.boo2.ToText() == 'True' and var.user.Title != null: Value = 'true'

Return 'True'

 

However when running this I get the dredded error in XML Document(1,1).

 

Help please! (at least I've had a go!)

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 15294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>