Developer.Datatable
Description
Creates a data table.
Properties
Analyst
- Description: Optional text for documentation purposes.
Options
- Disable Protocol: Disables the protocol function for this activity.
- Disable Log: Disables the logging function for this activity.
Output
- Table: The created DataTable as output.
Example
A good example of the Create Table Activity is the Mail DCO. See the section on DataCollector and Processor within the Hyland RPA Designer documentation for more information.
In this example you iterate over your emails, for example, all unread mails, by using the Get Mail Messages activity, followed by a For each activity. As input, you select and extract the unique ID for each mail.
To write this ID to a data table, use the Create Table activity (choose the by default created data table argument Inputdata as table property) and the Add Table Row activity to add this unique mail ID to your data table. Through the InputData table, you are able to refer to this unique mail ID in your Processor. See the section on DataCollector and Processor within the Hyland RPA Designer documentation for more information.
In the last step, you use the activity Create Task and chose the mail ID as diversity.
Tips and Tricks
- To see the result of your created data table, convert your data table to a string, using the Format Data Table activity. This allows you to simply use the Write Log activity and make your data table visible.