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

Windows Calculation to make a field mandatory

$
0
0

Hello -

 

I'm trying to make a field mandatory when an Int32 attribute has a certain value and I'm having no luck.  It says my syntax is valid but the field never becomes mandatory.

Can someone take a look and tell me what's missing?  Thanks

 

import System

static def GetAttributeValue(Resolution):

          Value = false

          if Resolution._PrivilegedAccess != null and Resolution._PrivilegedAccess == "Yes":

                    Value = true

return String.Format(":SetMandatory(Resolution._PrivilegeJustification, {0});",Value)


Viewing all articles
Browse latest Browse all 15294

Trending Articles



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