Use the Output Parameters tab to define the values to be returned to the Instance:

Return Code
This parameter is assigned the value 1 after a successfully completed action, otherwise -1.
Error message
If an error occurred during the execution of the action, this parameter will return the respective error message.
Custom field
Any custom field returned by the extensions can be listed here. You receive the names of the fields together with the project-specific extension.