appMatch

Version

1.3

Parameters

Parameter Type Description
ats string Four level record type. Must contain 3 slash (/) characters. Case sensitive. Do not add spaces before or after slashes. You can use the asterisk (*) as a wildcard to match all entries for a given level.
capID (optional) CapIDModel Record to check.

Returns

Returns true if ats matches the current record’s record type, false if it does not.

Notes

Compares the current record type to ats. You can use the asterisk (*) as a wildcard to match all entries for a given level. For example: appMatch(“Building/*/Sign/*/*”) evaluates to True for record type Building/Commercial/Sign/Billboard as well as Building/Residential/Sign/Garage Sale.

ats must contain 3 slash characters (/). Do not add spaces immediate before or after the slash (/).