Service Manager
This is the latest version of the help for Ivanti Service Manager 2018. If you cannot find some of the features described in the help, you may be using an older version of the application. To upgrade the application, click here.To view the help for the latest version of Service Manager, click here
Boolean
Converts the input into a Boolean value.
Syntax
Boolean(input)
Enabled For
For a description of the business object categories, see Notes on "Enabled For".
Business Object Category | Yes/No |
---|---|
Business Rules: Before-Save Rules | Yes |
Business Rules: Calculation Rules (After Save, with or without Also Recalculate on Load) | Yes |
Business Rules: Calculation Rules (Before Save or Always, without Also Recalculate On Load) | Yes |
Business Rules: Calculation Rules (Before Save or Always, with Recalculate On Load) | Yes |
Business Rules: Editing Rules | Yes |
Business Rules: Initialization Rules | Yes |
Business Rules: Read Only Rules | Yes |
Business Rules: Required Rules | Yes |
Business Rules: Validation Rules | Yes |
Client Expressions | Yes |
Object Permissions | No |
Services | Yes |
LDAP | Yes |
Mobile | Yes |
Quick Actions (except UI Quick Actions) | Yes |
UI Quick Actions | Yes |
Reports | Yes |
Search/Dashboard without field references | Yes |
Search/Dashboard with field references | No |
Parameter
input | The input to evaluate. Can be text, number, currency, or a Boolean. |
Return Value
Boolean value. See Boolean Embedded Literals. See also Conversion to Boolean Values.
If the input parameter is text:
•If it contains "true" (case insensitive), returns true.
•If it contains "false" (case insensitive), returns false.
•If it contains anything else, returns an error.
If the input parameter is a number or currency:
•If it contains zero, returns false.
• If it contains anything else, returns true.
If the input parameter is a Boolean:
•Returns the Boolean value.
•Returns an error if the input parameter is another type, such as DateTime.
•Returns null if the input parameter is null.
Examples
$(Boolean("true"))
In the example above, the system returns true.
$(Boolean("false"))
In the example above, the system returns false.
$(Boolean("29 Apr 2014"))
In the example above, the system returns an error.
$(Boolean(27.69))
In the example above, the system returns true.
$(Boolean(0))
In the example above, the system returns false.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other
Copyright © 2018, Ivanti. All rights reserved.