Add Transaction
Estimated reading: 3 minutes
The Add Transaction component enables you to create a new transaction and add it to a selected queue within a workflow.
Prerequisites
Before using the Add Transaction component, ensure the following:
- A project is created in Robility Manager.
- You have access to the required Interact Workflow that needs to be configured in Robility Manager.
- The following configurations are completed under the Project Configuration tab: Fields, Queue, and Business Rules.
- You have the required permissions to create or add a Queue within the project.
Parameters
| Parameter | Description |
|---|---|
| Queue Name | Select the appropriate Queue from the dropdown list to which the transaction needs to be added. |
| Process Comments | Use this field to provide comments related to the Add Transaction process. Refer to #process-comments-formatProcess Comments Format for the required format and examples. |
| Timeout | Specifies the maximum time allowed for the component execution. The operation stops if this limit is exceeded to prevent the workflow from hanging. |
| Retry Count | Specifies the number of retry attempts if the initial execution fails. |
| Delay Between Retries (seconds) | Specifies the wait time (in seconds) between retry attempts. |
| Delay Before Execution (seconds) | Specifies the wait time (in seconds) before executing the component. |
| Delay After Execution (seconds) | Specifies the wait time (in seconds) after completing the component execution. |
| Continue on Error |
Determines whether the workflow should continue when the component encounters an error:
Stop Workflow – Stops the workflow immediately. Continue – Continues the workflow without capturing error details. Continue (Using Error Output) – Continues the workflow and makes error information available to downstream steps through the output section. |
Process Comments Format
To obtain the required Process Comments format:
- Go to the Project Configuration page in Robility Manager.
- Create a table under the Fields section.
- After creating the table, it will be available under the Queue and Fields sections.
- In the Queue section, click Processing, locate the created table, and click the JSON file to copy its structure.
The copied JSON will look similar to:
[
{
"CardName": "",
"cardID": ""
}
]
Populate the required values in the JSON and provide it in the Process Comments field of the Add Transaction component in Robility Flow.
For multiple entries, separate each JSON object with a comma.
Example:
[
{
"CardName": "Car",
"cardID": "12"
},
{
"CardName": "Bike",
"cardID": "14"
}
]
Output
| Output | Description |
|---|---|
| Output | Provides the URN and Batch ID of the newly created transaction in the selected queue. |
How to Use This Component
- Drag and drop the Add Transaction component into the workflow canvas.
- Select the required queue name in the component.
- The field names associated with the selected queue (configured in Robility Manager) will automatically populate in the component.
- Provide the required values for the populated fields.
- Run the workflow.
- After the transaction is successfully added, the output displays the URN and Batch ID of the newly created transaction.