Get Text

The Get Text activity allows you to read text from a Word document. The value is copied to the process context variable.

Activity settings

To open the settings window, click on the activity on the process diagram.

Parameters Tab

The Parameters tab displays the basic activity parameters.

word-get-text-1

Name. The activity name on the process diagram. It is set by default when adding the activity. You can change the name in this field.

Path to the file. The location of a Word document in the file system. You can use process context variables that store the path or a part of the path. Click on the send-mail-2 icon and specify the variable. You can select it from the list or add a new one by clicking Create parameter. The value is inserted as {$variable name}. This field supports only the String type variables.

Parameter. The context variable of the String type, into which the text from the Word document is saved. You can select a variable from the list or create a new one by clicking the send-mail-3 icon.

Start. Specify the ordinal number of the character in the Word document, starting from which the text is saved.

Length. Specify the number of characters in the Word document that you want to keep.

In the Start and Length fields you can use process context variables that store the desired values. Click on the send-mail-2 icon and specify the variable. You can select it from the list or add a new one by clicking Create parameter. The value is inserted as {$variable name}. The fields support only the String and Integer type variables.

Conditions Tab

Read more about the Conditions tab in the "Basic activity settings principles" article.

Found a typo? Highlight the text, press ctrl + enter and notify us