We will introduce the 'Clear Data Table' activity.
Tabel of contents
1. Program name of the activity
RCA.Activities.Core.ClearDataTable
2. Description
For Studio version up to 2.0.2.0:
Quick Access: Toolbox
> Data Table
> Clear Data Table
For Studio version 2.0.3.0 and later:
Quick Access: Toolbox
> Core
> Data Table
> Clear Data Table
Clears the data within the specified data table.
*Tested akaBot Studio versions: 2.0.5.1, 2.1.0.0
*Please note that wording and labels may vary slightly depending on the version.
3. Properties
Property category | Property name | Input field | Description |
Misc | Public | Checkbox | The variables and arguments within the activity are written to the log file and pushed to Center. (For details, refer to "About the 'Public' property item.") |
Display name | Any String | Reflected in the activity name on the Designer panel. | |
Input | Data Table | Input Value (DataTable type) | Specify the data table whose data you want to clear. |
4. How to use
Let’s try clearing the data from a data table created using Build Data Table.
As shown in the image below, place Build Data Table, Output Data Table and Write Line activities, and configure the necessary variables and other settings for each.
*The variables used are the same as those used on the Output Data Table page rateTable and result.
Next, drag and drop "Clear Data Table" from "Core" > "Data Table", and place it in the workflow.
In the "DataTable" property, enter the DataTable-type variable (in this example, "rateTable").
Place "Output Data Table" and "Write Line" again to check the execution result.
*The variables used are the same as before: "rateTable" and "result."
Click "Home > Start" or press the F5 key to execute the robot, then open the output panel.
After the data from the data table is written, confirm that the data within the data table has been cleared, and only the columns have been written.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article