WrapXPathFilter Function - microsoft/MIMWAL GitHub Wiki
Syntax
string WrapXPathFilter(filter:string)
Description
Wraps the supplied XPath filter in the necessary XML to prepare for use in a criteria-based group or set definition.
Remarks
If the input filter string is null, the function returns a null value.
Supported Version
1.0.0.0 and later
Examples
WrapXPathFilter("/Person[_refRoles='"+[//Target/ObjectID]+"']")