|
The Transaction command is a behavior object found in the integration .
|
Settings
|
The settings section contains options for selecting the connection, setting the connection type and specifying other miscellaneous parameters.
|
Transaction Settings
|
Object
|
Details
|
Additional Information
|
[Connection Selection]
|
Select from the list of existing connections. If you do not see the connection you need, you may need to click the Refresh button or exit the App Designer and create the new connection from the PerfectApps Connections Dashboard.
|
Creating PerfectApps Connections
|
Show Error Messages
|
Select this check box to have PerfectApps show all errors. If you clear this check box, then you will need to manage your own error handling.
You can inspect the error code after the command has run. Check for problems with the connection using a Branch command and inspecting the Special Value Last Command Was Successful and last command's error code.
•No error (Error Code 0) •Generates a general connection error (Error Code 200) •Returns no data although the connection worked fine (Error Code 201) |
Connection Error Handling
|
Type
|
Start
|
Select this radio button to indicate that a new database transaction is starting at this point.
|
Database Transactions
|
Rollback
|
Select this radio button to remove any outstanding database write operations and prevent them from actually being written to the database. If an app is submitted and a transaction is neither rolled back nor committed, then the connection agent will ignore any outstanding database commands.
|
Database Transactions
|
Commit
|
Select this radio button to instruct the connection agent to write any outstanding database commands to the database. The standard place to put transaction behavior with the Commit property enabled is in the App Submits Data behavior event.
|
Database Transactions
|
|
Summary
|
The summary section includes the option to override an automatically generated summary with your own comments.
|
Object
|
Details
|
Auto-summary
|
This option is selected by default, the system will automatically generate a summary that is show in the lower half of the object based on selections made.
Un-check this box if you want to add your own text instead.
|
|
To return to the Transaction command details CLICK HERE.