With Dropsource Actions, you can achieve the user experience you need by adding Actions for a range of functionality types, including native functions that leverage other apps and data on the user device. You can also add logic and control flow to your app with nested Actions that execute when conditions are met.
You can add multiple Actions to the same Event, and they will execute in the order listed – use the arrow buttons to reorder them. Any Action with the terminal icon must be last in the list for an Event.
With an Action open, click Edit (if the Action requires editing), making a selection for any fields listed, and Save.
Some Actions return data – in this case you will see a Returns section.
You can access any data returned by an Action in the Action Data container for other Actions in the same Event scope (including nested Actions).
You can also access information about the Event, via the Event Data container.
Selecting Action Inputs
In most of the Actions you use in Dropsource, you will select inputs. For example, the Set Value action allows you to assign values from various input sources in the app to any of its Elements or variables.
The input selections you can choose from are tailored to the Action in each case.
Some Actions include nested Events of their own, allowing you to build control flow into your app. The If Else Action carries out a logic test on two input values, which can come from various sources in your project such as Elements and variables. You can then add Actions to execute when a true or false result is returned.
If your app contains an API response with an array in it, you can carry out Actions on each item in the array using the Iterate through Array Action.
Many other Actions include nested Events – for example, when showing alerts on both platforms, you can respond to the user tapping any buttons you’ve added. Dropsource will display Events for these dynamically as you add buttons to your alert.
If you don’t see the functionality you need, you may be able to add it to your project using a Plugin – click the button in the Actions list to find out more.