When this task executes, it captures the latitude and longitude coordinates of the end-user’s location and then stores them in the database.
Steps to Configure
- On the Event Configuration page, find the Task panel.
- In the Task panel, search and find the Save Location task.
- Drag the Save Location task from the Task panel to the Execution panel.
- Under Save Location, a group of boxes appears.
- In the boxes, configure different properties as follows:
|Reference Name||In this box, enter the name of the task. Also, the system generates a reference name by default that you can change.||Yes|
|Path||In this box, you can configure the location at the database level, where the Save Location task will store the latitude and longitude coordinates of the end-user’s current location. |
To configure the storage location:
–> In the Path box, click the application tree icon (), and the right panel displays Path area.
–> In the Path area, click the Source list and then select the data source in which you want to store the end-user’s location.
–> After you select the data source, the right panel displays the tree of multiple JSON path (JSON store).
–> In the tree, select a JSON path where you want to store the end user’s location.
–> After you select a JSON path, click Select, and the storage location is successfully configured.
Note:-Under a specific data source, the JSON path is a JSON based location where several types of data are stored in the JSON format. After you select a JSON path, click Save, the Save Location task is configured.
|Update Live Location||If you click this check box, the application will update the user’s current location.||No|
|Business Rule(Optional Step)||In this box, you can configure a business rule to determine the execution of the Save Location task. If the user’s action satisfies the condition in the business rule, the Save Location task is executed.|
To configure the business rule:
–> In the Business Rule box, click the application tree icon (), and the Business Rule panel opens.
–> In the Business Rule panel, click Create New to configure a new business rule.
- After you configure the related properties, click Save to configure the Save Location task.
Was this article helpful?