Block - Set Table Rows

This sample shows how to add rows with some value when creating an entry.

Default form

  1. In form design
  2. Enable automation
  3. Drag & drop Action block
  4. Add Action
  5. Select Create
  6. Set Variable such as A,B,C

  1. Click OK


  1. Drag & Drop Condition block
  2. Write #Form#Table.Count <= 0

#Table is the table name in this form. I have to set the variable in this table rows when the table is empty (Count <=0 or Count == 0)


  1. Drag & Drop For block
  2. Select #variable 1 and each type ‘x’ (any name to define each of the items from the variable)


  1. Drag & drop action block
  2. Click add action
  3. Select ‘Create’
  4. Add Value: #addRow(#Form#Table)
  5. Click OK

  1. Click add action
  2. Select ‘Set’
  3. Variable, choose #Variable 2
  4. Expand Property
  5. Add value #text (this is the table column to set the Vartiable 1 items (a,b,c)
  6. Click OK

Here is the full view of the automation

Result in Client