Format the text by using variable placeholders and line and tab variables with the Format Text component in RPA Desktop Design Studio. You can update the text and their positions easily by just updating the variable placeholders and the line and tab variables.

Before you begin

Role required: none

About this task

You can configure the properties for the Format Text component. For more information about these properties, see Properties of the General components.

Procedure

  1. In the Toolbox pane, navigate to General > Format Text.
  2. Drag the Format Text component to the Design surface.
  3. To set the text placeholder variable, do the following steps.
    1. Click the add variable icon (Add variable icon.).
      A Data In port is added for each variable you add.
    2. To configure the variable value, see Configure port properties.
    3. (Optional) Repeat the steps to add more variables and values.
  4. Click the component settings icon (Component settings icon.).
  5. Insert the text in the TEXT FORMAT EDITOR.
  6. Insert the text.
  7. (Optional) Insert the line separator \n or tab separator \t variable at appropriate places within the text.
  8. Insert the text variable placeholders within the text body, wherever appropriate.
    Tip: To update the text, update the placeholder value.
  9. Connect the data and control ports of the Format Text component to the corresponding ports of the other component as described in the following table.
  10. (Optional) To test the component, under the DESIGN tab, click Run.