Maplytics
  • Maplytics
  • What's New
  • Installation
    • Install from Microsoft AppSource
      • Support for Dynamics 365
      • Support for Dataverse(CDS)
        • Access Maplytics in PowerApps
          • Multi-language Map
    • Install from Maplytics Website
      • Support for Dynamics 365
      • Support for Dataverse(CDS)
        • Access Maplytics in PowerApps
          • Multi-language Map
  • Getting Started
    • License Activation
    • Configuration
    • Add Users to Team
  • Upgrade
    • Upgrade from Microsoft AppSource
      • For Dynamics 365
      • For Dataverse
    • Upgrade from Maplytics Website
      • For Dynamics 365
      • For Dataverse
  • Prerequisites
  • Personalization
    • General
    • Advanced Settings
    • Auto-Scheduling
    • Real-Time Tracking
    • Apply to all
    • Setup Entity Map
      • General
      • Attribute Mapping
      • Tooltip Mapping
      • Category Configuration
      • Configuration
      • Advanced Settings
      • Refresh Entity Maps
    • Maplytics Security Template
    • Maplytics on Tablet / Mobile
    • Setup Dashboard Details
    • Update the Plug-in Assembly Registration
  • Features
    • Language Support
    • Maplytics Configuration (Personalization)
    • Maplytics Security Template
    • Individual Record Map
      • Steps To Add the Map To Other Entity Forms
    • Area of Service
      • Add Area of Service tab
      • Create an Area of Service field
      • View Area of Service data on a map
      • Using Map button
      • Adding Detail map on form
      • Advanced Area Of Service
      • Attribute Mapping of Service Area
      • Working of Area Of Service
    • Plot records on map
      • Detail Map
      • Plot
      • By Location
      • By Region
      • By Drawing
        • By File within By Drawing
      • By Territory
      • By Template
        • Default Template
      • Plot From File
      • Search Record
      • Lasso Tool
      • Cluster Map
        • Cluster Area
        • Spider Cluster
      • Category
        • Multiple Categorization for Multiple Entitles
        • Multiple Categorization for Single Entity
      • Set colors and shapes for pushpins
        • Set pushpins from map
          • Set pushpins for views
          • Set pushpin for categories
          • Configure pushpins in Entity map for new category
            • Category configuration for users
            • Category configuration for admins
      • Data Grid in Detail Map
        • Highlight Pushpins
        • Mass Actions
      • Tooltip Card
        • Quick Call to Action Buttons
      • Reset Map
      • Summary Card
      • Layer Menu
        • Show/Hide Labels
        • Show/Hide Territory List
      • Download map
      • Contextual Menu
    • Multi-Address Plotting
    • Point of Interest (POI) Locations
    • Proximity Search
      • Proximity by Distance
    • Overlay
      • Overlay by Territory
      • Overlay by File
      • Save Shape/Excel file in territory
        • Save Shape File
        • Save Excel File
      • Convert Overlay to Territory
    • Overlay by ArcGIS Online
    • Census data Visualization
    • Shape Operations
    • Territory Management
      • By File
      • By Proximity
      • By Region
      • By Drawing
      • By Territory
      • By Overlay
      • By ArcGIS
      • Layer Menu
      • Territory Alignment Tool
      • Create New Territory
      • Auto Territory Creation
        • Assign Territories to Record
        • Register to Windows Service
      • Draft Territories
      • Create Territory on One Click
        • By Shape File
        • By Excel File
      • Alignment of Existing Territories
        • Move To
        • Copy To
        • Edit Existing Territory
      • Shape Operations in Territory Management
    • Defining Geographies for Sales Territory with Maplytics
    • Hierarchal Territories
    • Bulk Geographies by Uploading an Excel File
    • Multiple Territories Assigned to a Record
    • Detail Map on CRM Dashboard
    • Saved Template Visualization on CRM Entity Form
    • Routing Optimization
      • Directions Card
        • Truck Route
      • Optimize Direction
      • Unified view for Route and Records
      • Default Origin and Destination
      • Snap Waypoint
      • Along the Route
      • Route Redirect and Copy Route Links
        • Redirect with Google Maps
        • Redirect with Waze
      • Redirect with Apple Maps
      • Print Route
      • Proposed and Actual Route Tracking
    • Route to a record
    • Auto Scheduling
      • Auto Scheduling Card
      • Advanced Preferences
        • User Details
        • Meeting Details
        • Existing Meetings
      • Calendar Navigation Buttons
      • Create Activities
      • Configuration Details for Auto Scheduling
      • Characteristic Based Scheduling
    • Check-In/Check-Out
      • Configuration
      • View Related Check-In/Check-Out Records
      • Check-Out
      • Default Radius
      • Geofencing
        • Enable Notes on Check-In and Check-out
        • Pending Check-In/Check-Out Requests
      • Creating Check-In/Check-Out Records
        • Adding Notes while checking-in/out
        • Creating Pending Check-In/Check-Out requests
      • Visualize Check-In/Check-Out Records on Detail Map
        • Analyze Check-In/Check-Out Records
          • Visualizing Related Records
          • Visualize Pending Check-in/out requests
      • Visualizing Related Records
        • Visualizing Related Record (Appointments/Accounts, etc.) for Check-In/Check-Out records
        • Visualizing related Check-in/Check-Out records for plotted records (Appointments, Accounts, etc.)
      • Visualize Pending Check-in/out requests
        • Approve/Reject pending Check-In/Check-Out records
    • Land Area Mapping
      • Create and Assign land areas to entity records
        • Create 1: N relationship with Geography entity
        • Attribute Mapping for Landscapes
        • Assign lands to single record
        • Assign lands to multiple records
      • Visualizing Assigned lands to the record
      • Visualizing Assigned lands to the records having no geocoordinates
    • Real-Time Tracking
      • Today's Plan
      • Location History
      • Real-Time Tracking in Mobile
    • Maplytics API
      • By Proximity
      • By Region
      • By Territory
      • By Template
      • Get Time zone
    • PowerApps Component Framework
      • Map View Control for Record
        • PCF Control in Portal/ Power Pages
      • Map Edit Control for Record
      • Map View Control for Dataset
      • Detail Map Control for Dataset
      • Address Autosuggest Control
    • Maplytics in Canvas App
    • Azure Maps - Maplytics List Control
      • Azure Map Key- Generation & Set Up
      • Plot
      • By Location
      • By Region
      • By Drawing
      • Search Record or Address
      • Category
      • List
      • Filter
      • Hover & Tooltip Card
      • POI Location
      • Contextual Menu
      • Route Optimization
    • Heat Maps
      • Select Display
    • Support for Dataverse(CDS)
      • Import Maplytics solution
      • Access Maplytics in PowerApps
    • Maplytics Dashboard
      • View Category donuts in dashboard
      • Steps to add Maplytics View to Dashboard
      • Create a route dashboard
      • Add a template in dashboard
    • Territory Assignment Rule
      • Enable Territory Assignment Rule
      • Creating Territory Assignment Rule
        • General
        • Assignment query
      • Override Existing Territory
    • Maplytics - Tablet/Mobile
      • Detail Map
        • Proximity
        • Concentric Proximity Search
        • Category Filter
        • Current Location
        • Search POI
        • Category Filter
        • Current Location
        • Set GPS Location as the current location
        • Tooltip Card
        • Contextual Menu
        • Search Record
        • Data Grid
        • Lasso Tool
        • Routing – Tablet / Mobile
        • Unified View for Route and Records
        • Save Route and Plot Saved Routes
        • Along the Route Search
        • Route Redirect and Copy Navigation Links
      • Heat Map - Tablet/Mobile
        • Summary card
        • Pie Chart in Heat Map
        • Column Chart in Heat Map
      • Dashboards - Tablet/Mobile
    • Workflows
      • Configure Geocoding Workflows for Custom Entities
      • Configure Territory Assignment Workflows for Custom Entities
      • Configure Get Time Zone Workflow
      • Configure Driving Instruction Workflow
    • Batch Processing Tool
  • Uninstallation
  • FAQ
    • License
    • General
    • Installation
    • Features
  • Popular Blogs
  • Video Library
  • MapPoint Alternative
  • Add Review
Powered by GitBook
On this page

Was this helpful?

  1. Features
  2. Workflows

Configure Driving Instruction Workflow

PreviousConfigure Get Time Zone WorkflowNextBatch Processing Tool

Last updated 1 year ago

Was this helpful?

  1. Go to Setting > Processes > Click on ‘New’ to design a new Workflow Process.

  2. Write Process name, choose ‘Workflow’ under the category section and select desired entity, and click on Okay as shown below;

3. Select ‘Organization’ under ‘Scope’ dropdown. Select ‘Record is created’ and ‘Record fields change’ options as shown below:

4. For the ‘Record fields Change’ option, select all of the address fields to ensure the address is retrieved when any of the address fields is changed as shown below:

5. Select Inogic.Maplytics.DrivingInstructions workflow assembly from the Add step menu as shown below:

6. Click on ‘Set Properties’ and set the address parameter as shown in below screenshot for the workflow assembly:

In ‘FromAddress’: Select the address fields of the entity that you want the direction ‘From’. Select the all address field i.e. Steet1, Street2, and City etc. and ensure sure you keep space between two fields. {Address 1: Street 1(Account)} {Address 1: Street 2(Account)} {Address 1: City(Account)} {Address 1: State/Province(Account)}

In ToAddress: Select the address fields of the entity that you want the directions ‘To’. Select the all address field i.e. Steet1, Street2, and City etc. and ensure to keep space between two fields.

Travel Mode: Select the Travel mode. For example (Driving, Walking, Transit). If you do not specify the Travel mode then it will take Driving mode by default.

Distance Unit: Select the Distance unit. For example (Mile or mi, Kilometer or km). If you do not specify the unit then it will take Kilometer as default unit.

  1. For the ”OptimizeBy” field, input any one of the values mentioned below:

distance: The route is calculated to minimize the distance. Traffic information is not used.

time: The route is calculated to minimize the time. Traffic information is not used.

timeWithTraffic: The route is calculated to minimize the time and uses current traffic information.

timeAvoidClosure: The route is calculated to minimize the time and avoid road closures. Traffic information is not used in the calculation.

Note:

· If you are not passing any values on “OptimizeBy”, then you will get results on distance optimization.

8. Click on Add Step -> Send Email -> Click on set property

Click on Email body -> Select Look for -> local value “inogic.Maplytics.DrivingInstructions. DrivingInstruction”

Select DrivingInstruction for plan text or DrivingInstructionHTML for html page. Click on save and close.

8. The driving instructions will be returned both in HTML and Plain Text format as an output parameter to this workflow. User can use either of them. For example we have used HTML formatted direction instruction in Email here.

  1. Also, we have included four outputs to get the Travel Time & Travel Distance with/without unit values.

For example, create four columns in the Account entity as mentioned below,

Column 1: Travel Time (datatype should be decimal or floating point)

Column 2: Travel Distance (datatype should be decimal or floating point)

Column 3: Travel Time with Text (datatype should be a single line of text)

Column 4: Travel Distance with Text (datatype should be a single line of text)

Click on Add step -> Update Record -> Select Entity (that you want to set Time & distance value for) -> Click on Set Property ->

Click on the field that you have created -> Select Look for -> local value “inogic.Maplytics.DrivingInstructions. DrivingInstruction”

Select the TravelTime & TravelDistance output

- It will give you the result in decimal or floating point without unit values (only numbers)

Select the TravelTimeWithText & TravelDistanceWithText output

- It will give you the result in text with unit values(miles/hours)​