New In This Release
Boolean Expression Triggers
Nrby now allows you to take an action based on the value of an Attribute. In order to make use of this feature, define a SmartPin definition with numeric or string Attributes.* Once you have the SmartPin and Attribute defined, you can edit the SmartPin definition and add a boolean expression that can have actions associated with it. The boolean expressions are evaluated every time a SmartPin is Completed. If the expression evaluates to true, the action is taken.
In the example above, the SmartPin has two Attributes, AA_INT_OPTIONAL and AA_STRING_OPT. These two attributes can be used in an expression using the logical operators defined in the collapsable Legend section.
If you wanted to take an action whenever either attribute was 1, it may look like this:
Note the string literals are enclosed in single quotation marks, e.g. ‘string value’. The actions you can take are:
- Switch the type of SmartPin
- Send an email to an Email Group
- Assign the SmartPin
- Delete the SmartPin
If you want to always delete the SmartPin when then complete button is tapped, that configuration would look like:
NOTE: Each expression can have multiple actions. There can be multiple expressions.
Perhaps when your attribute values are one, you wish to send an email and assign the SmartPin to a mobile user. But if your attribute values are two, you wish to change the SmartPin to a different type of pin. This configuration is depicted below. The actions for each expression can be reordered with the ‘Move’ button. The expressions themselves can be reordered by dragging and dropping them in the correct order.
If you wish to always remove the SmartPin from the map when the Complete button is tapped, a blank expression always evaluates to True. So that configuration would look like this:
As part of this feature, Complete Triggers have been removed from the product. All existing complete triggers have been automatically migrated to be Boolean expressions with actions.
NOTE: When a SmartPin is first created, Attributes must be added to the SmartPin and the SmartPin saved and edited again in order to see the list of Attributes in the Legend section of the Boolean Expression.
Fixed In This Release
'Data couldn't be read' Error While Saving SmartPins
Under certain circumstances, when trying to save an updated SmartPin from the iOS mobile app, the app would display the following error message: “The data couldn’t be read because it is missing.” That issue ended up being a server issue that was fixed in this release.