GetText

Estimated reading: 2 minutes 1668 views

This activity enables to extract the text from the specified node or attribute in the XML Document.

Properties

INPUT

AttributeName: Specify the attribute name when you need to extract the corresponding text. If left blank, the activity will not retrieve the attribute’s value. This field only accepts values of the string type.

DelayAfter:  It helps the user to add a delay to start the execution of the further activity. The format of the delay here is milliseconds.
By default, it will be set to zero. When the option is left blank, no delay is considered.

DelayBefore: It helps the user to add delay before the execution of the current activity. The format of the delay here is milliseconds.
By default, it will be set to zero. When the option is left blank, no delay is considered.

XML Node:* Specify the input which is the XNode output variable (declared in GetNode activity) from where it returns the extracted text.

MISC

DisplayName: Displays the name of the activity. It can also be customized for troubleshooting purpose.

SkipOnError: It specifies whether to continue executing the workflow even if it throws an error. This supports only Boolean value “True or False”. By default, it is set to “False.”
True: Continues the workflow to the next step
False: The workflow aborts if it throws any error.
None: If the option is specified as blank, by default the activity will perform as “False” action.

Version: It specifies the version of the XML automation feature in use

OUTPUT

Output:* It helps to view the output value as the text extracted from the specific node or attribute in a String format. (Refer to the steps in creating a workflow.)

Result: It helps to view the execution state of the activity. It returns the values in Boolean format.
True: It indicates the activity has been executed successfully without any error.
False: It indicates that the activity has been faulted due to some unexceptional error thrown.

* Represents mandatory fields to execute the workflow

Click here to view the example of “GetText” activity used in the workflow for automation.

Share this Doc

GetText

Or copy link

CONTENTS