Nanoflow Commons ITvisors

Content Type: Service
Categories: Communication


Additional JavaScript actions geared around retrieving data in offline and native apps. Also other stuff that can be quite usable in native mobile apps as well.



Additional JavaScript actions geared around retrieving data in offline apps. Also other stuff that can be quite usable in other situations as well. The individual actions are documented in the modeler.


Typical usage scenario

Offline and Mendix Native apps.


To retrieve over an association:

  • Get the GUID of the other object using NanoflowCommons.GetGuid
  • Use the GUID on any of the GetOffline JS actions as value for the reference

To filter on dates:

  • Use nanoflow SUB_DateToEpochUTC to get the internal date value
  • Use that value as constraint value

To filter on enum values:

  • Use the toString expression function to get the enum key
  • Use that value as constraint value

Features and limitations

Available actions:

  • Format date/time
  • Format decimal
  • Get enum key or value
  • Get offline first, list and count in a basic and an advanced version
  • Get offline database object counts
  • Calculate distance (in kilometers) between two coordinates.
  • Split a string into a list of items


The GetOffline… actions allow data retrieval using combinations we are used to in microflows, but not (yet) possible in nanoflows. For example, retrieve over an association, filter on another attribute and sort the result.


The GetOfflineFull… actions allow you to take full advantage of the GetOffline function in the Mendix client. For documentation see the GetOffline documentation in


The GetOfflineStats action returns object counts for each persistent entity found in the offline database.



Version: 4.0.1
Framework Version: 9.24.10
Release Notes: Fix for issue with StringSplit that caused it to return an empty or inconsistent result
Version: 4.0.0
Framework Version: 9.24.0
Release Notes: Mendix 9.24. Also added suggested return names to several JavaScript actions.
Version: 3.3.0
Framework Version: 9.18.0
Release Notes: Mendix 9.18. Separate dark and light icons for the JavaScript actions.
Version: 3.2.1
Framework Version: 9.12.4
Release Notes: Small code syntax fix for StringSplit
Version: 3.2.0
Framework Version: 9.11.0
Release Notes: Marked JS actions as native only where applicable. Added nanoflow to get epoch value in UTC for a date. New icon set that is visible in dark mode as well.