Please share if you have figured out how (if possible) to use a conditional statement before a GetAction runs.
For example... this works fine.
But if I want to only call the action if the searchTerm length is 5 characters, I cannot figure out a proper syntax to make that happen. (Tried lots of ways... just not the right way--if one exists.)
statement ? true : false
statement ? true : false
Thanks Christophe.
I am missing something still. It isn't working.
(#searchTerm.length > 5) ? GetAction("org.zzzzz.ActiveDirectory","getAdUserStringArrayByAdHost").call( #searchTerm , #adHost) : null
Looks like I cannot get length this way...
#searchTerm.length
#searchTerm.length()>5?GetAction("org.zzzzz.ActiveDirectory","getAdUserStringArrayByAdHost").call( #searchTerm , #adHost) : null
Just one of those mornings I guess. I got it worked out. Thanks for the assist!