submitTrixtaActionResponse
This method will attempt to send a request to the given roleName and actionName
Last updated
This method will attempt to send a request to the given roleName and actionName
Last updated
roleName
Trixta role name
string
actionName
Trixta action name
string
actionOptions
Options for action in Trixta flow
any
debugOptions
Trixta flow debugging options
debugMode
Enables debugging for action in Trixta flow. False by default
boolean?
responseEvent
Redux event for data to dispatch response to
string?
requestEvent
Redux event for data to dispatch to before submitting request to Trixta
string?
timeoutEvent
Redux event for data to dispatch error response due to timeout
string?
errorEvent
Redux event for data to dispatch error response to
string?
loadingStatusRef
Optional value to change the default isInProgress behaviour for when submitting actions.
If you plan to use the same action name for the same role, on the same screen, this is when you would make use of this * property
string?
timeout
timeout in milliseconds for submitting data to Trixta, default is 15000
number?
extraData
Extra data to pass on and receive in response with the key extraData. This can be used as needed.
any
clearResponse
Determines if the instances for action should be cleared before submitting. False by default
boolean?
formData
Data to submit to Trixta
any