iRobo.Activity.Add Data Row

If you already have a DataTable and want to add another Row to a DataTable.


                                                                                       

Properties


Input

  • Array Row - array of object; for example: {"1","John","30"}.
  • Data Row - takes a Data Row Variable. (Optional)

     Note: 

         the Number of Columns in the DataTable must be the same as Input data either in; Array Row or Data Row.

         Use either Array Row or Data Row in Input. You can not use both of them.

  • DataTable - DataTable variable to proceed on it.


Misc                                                                                                        

  • DisplayName -  Activity header name.


Steps of Using Add Data Row Activity

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Add Data Row Activity to the Sequence.
  3. Add either Array Row or Data Row in Input.
  4. Assign a DataTable Variable to add new rows in it.
  5. Click the Save button from iRobo Studio Menu to save Workflow.
  6. Click the Play button to start the automated process.


Example on Using Add Data Row Activity

Here you can see how to use Add Data Row Activity with other activities.


  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Create DataTable Activity to the Sequence.
  3. Create a DataTable Variable in Output.
  4. In VB Expression, enter the created DataTable Variable.
  5. In VB Expression, enter Column names within {}; for example: {"id","name","age"} as shown in the image below.

  1. In Array Row, enter data to be entered in the defined Columns in the VB Expression. For example:  {"1","John","20"}.
  2. In Type Names in Input, enter the Data Types in {}; for example: {"int32","string","string"}.
  3. Drag Add Data Row Activity to the Sequence.
  4. Add either Array Row or Data Row in Input.
  5. Create a DataTable Variable to add data in it.
  6. Drag Append DataTable to Word Activity to the Sequence.
  7. Select Word file from Activity button.
  8. In Argument, put theDataTable  Variable created in Create DataTable Activity as shown in the image below.

  1. Click the Save button from iRobo Studio Menu to save Workflow.
  2. Click the Play button to start the automated process, DataTable is added to the specified Word file.



Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source