Actions
execute-entity
8min
Execute-entity can save, update, or delete data from a database depending on the chosen method. Each datasource type (Dynamic / SQL / REST) will also have a different syntax for updating, saving, and deleting data.
For the Dynamic datasource, values will be saved under the data option. For SQL/REST datasource, values will be saved under the functionParameters option.
This action can't be used if you are using Static Data.
An execute-entity action can be used in multiple areas:
- Under action button
- In action list
- In onPress/onChange events (if the component you are setting up has these options)
- In onRefresh/onFocus
The execute-entity has a goBack option which is by default set to on. That means when you run execute-entity, it will automatically return you to the previous Jig.
We've gone ahead and expanded the few for you. Feel free to view any others you'd like to inspect.