Reflects the current release of Nintex for SharePoint 2016. For your version, please access assistance through the Help button in the product.
This topic provides behavior and reference information for inline functions.
In any text input that supports inserting reference fields, an inline function can be entered that can be resolved to a value at runtime. For more information, see Insert reference fields.
A number of functions are provided out of the box. Functions can also be used as arguments for other functions.
The parsing engine replaces any inserted reference tokens first, and then the resulting text is evaluated for functions. If a function contains another function as an argument, the inner most function will be evaluated first. As reference tokens are replaced first, the reference token can also contain function syntax that will be evaluated. Functions cannot refer to named controls.
Returns true if the first function and the second function returns true.
fn-And(greaterthan(value1,value2), lessthan(value3,value4))
Returns true if the first argument contains (at the beginning, at the end, or anywhere within) the second argument.
fn-Contains(value1, value2)
Returns true if the current user belongs to the SharePoint audience.
fn-DoesMemberExistInAudience(SharePointAudience)
SharePoint Audience: The string value of the SharePoint audience to evaluate if the current user is a part of.
Returns true if the first argument ends with the second argument.
fn-EndsWith(value1, value2)
Returns true if the second argument is equal to the first argument.
fn-Equals(value1, value2)
Returns the value for a specific key in the query string. This can be used to specify default values for the People and Single Line Textbox controls by including query string parameters in the URLs that opens the form in New mode.
If the key cannot be located in the query string, a blank value will be returned. If there is any potentially damaging JavaScript in the value, it will be removed before being inserted into the form or control settings.
fn-GetQueryString(key)
key: a string that represents the parameter name passed to the form via the query string.
Returns true if the second argument is greater than the first argument.
fn-GreaterThan(value1, value2)
Returns true if the second argument is greater than or equal to the first argument.
Usage
fn-GreaterThanOrEqual(value1, value2)
Arguments
Returns true if the current user is the same user specified in the string argument.
fn-IsCurrentUser (username)
username: The string value to evaluate if it matches the current username. The username includes the domain name. e.g. crestan\johndoe
Returns true if the argument is a date.
fn-IsDate(value)
value: The string value to evaluate if it is in a date format.
Returns true if the current user belongs to the Windows / SharePoint group specified in the string argument.
fn-IsMemberOfGroup(groupname)
groupname: The string value of the SharePoint group name to evaluate if the current user is a member of.
Returns true if the argument is empty or null.
fn-IsNullOrEmpty(value)
value: The string value to evaluate if it's empty or null.
Returns true if the argument is a number.
fn-IsNumeric(value)
value: The string value to evaluate if it is a number.
Returns true if the second argument is less than the first argument.
fn-LessThan(value1, value2)
Returns true if the second argument is less than the first argument.
Returns true if the second argument is less than or equal to the first argument.
fn-LessThanOrEqual(value1, value2)
Returns true if the second argument is less than or equal to the first argument.
Returns the reverse of the boolean value. If value is true, then the function returns false. If value is false, function will return true. Use when you want to make sure a value is not equal to one particular value.
fn-Not(bool value)
Bool value: A value that evaluates to either true or false.
Returns true if either the first function or the second function returns true.
fn-Or(greaterthan(value1,value2), lessthan(value3,value4))
Returns true if the first argument starts with the second argument.
fn-StartsWith(value1, value2)
Extracts and returns a portion of text from a string.
fn-SubString(sourceString, startIndex, length)