Save Location

This post is referring to Vahana 2 (beta version). To check the document for production, please go to vDesigner-v1.0

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

  1. On the Event Configuration page, find the Task panel.
  2. In the Task panel, search and find the Save Location task.
  3. Drag the Save Location task from the Task panel to the Execution panel.
  4. Under Save Location, a group of boxes appears.
  5. In the boxes, configure different properties as follows:
Reference NameIn this box, enter the name of the task. Also, the system generates a reference name by default that you can change. Yes
PathIn 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 LocationIf 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.
  1. After you configure the related properties, click Save to configure the Save Location task.
Was this article helpful?