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:
BoxDescriptionMandatory
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 location:
1. Click in the Path box, a smart selector expands.
2. In the Path box, enter the entity’s attribute’s name (a JSON object) that will store the end-user’s current location, and the smart selector displays the attribute’s name.



3. In the smart selector, select the attribute’s name.
No
Update Live LocationIf you click this check box, the application will update the user’s current location automatically. 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.
No
  1. After you configure the related properties, click Save to configure the Save Location task.
Was this article helpful?
YesNo