Add a Create Entity Instance action

Use the Create Entity Instance action to create entity instances on a form at runtime.

  1. On the Form Modeling bar, click Actions.
  2. On the Actions page, click Add Generic Add.
  3. On the Type list, select Create Entity Instance.
  4. Enter a Name and Description for the action.
  5. Optionally, configure a unique action for each language separately. See Configure multilingual actions for a form or control for more information.
  6. On the Entity list, consume the required entity. All the attributes of the selected entity appear in the table.
    Note This list is unavailable when you use this action in a Create Entity Instance form.
  7. Consume the required form field, form variable, or global variable in the Session ID box.
  8. Map a global variable, form variable or a form field to the attribute.
    Note The mapped field must be of the same type as attribute. For example, if the attribute is Text type, map a string variable or a text box to the attribute, if the attribute is Boolean, map a Boolean variable or check box to the attribute.
  9. Map Return Parameter to a String variable or a text field.
  10. Click OK.

    The newly created action is added to the table.

  11. Click Save.
  12. Associate the action with the control to trigger this action. To call the Create Entity Instance action upon form load, associate the action with the form. See Associate an action with a form or control

    When this action is triggered, an entity instance is added to the form.