Workflow and ServiceDesk Community

 View Only

Text Exists 

Jun 13, 2012 09:47 AM

Text Exists

Component definition

This component evaluates a string type variable to see if it has any content. The Text Exists component is a rule component that decides if a text variable is null or has value, and it routes the process accordingly. If the variable includes any value (including a space character) the component recognizes it as value. This component does not handle arrays.

Component icon

Description of component output paths

Unknown

The component output paths are described in the following table:

Property

Description

exists

Unknown

does not exist

Unknown

Description of component tabs and their properties

The properties on the Evaluation tab in the Text Exists component are listed and described in the following table:

Property

Description

Variable Name

Unknown

The properties on the Settings tab in the Test Exists component are listed and described in the following table:

Property

Description

Component Class Name

The class name of this component. This property is not editable, but useful if you call Symantec support.

Description

The description of this component. This property lets you describe how the component is used. You can use it to provide any wanted documentation for this component.

This description is included in the model reports that are created when you click Plugins > Generate Business Model.

Location

The physical location of the top left point of this component on the workflow model.

Name

The name of this component. You can change the name.

If you changed the component name when you double-clicked it on the workflow model, the changed name appears here.

Override Background Color

This property lets you change the background color of this component.

To Do

This property lets you record what you still need to do with the component. Use this property to help you remember the configuration that you want to apply to this component.

The text that you enter for this property appears at the bottom of the component editor. If you enter text for this property, a checklist symbol appears on the component in the workflow model.

Is Enabled

This property lets you enable or disable the component. By default, components are enabled. When a component is disabled, it has no effect on the Project. Uncheck Is Enabled to disable the component.

  • Execution Outcome

    If a component with more than one outcome path is disabled, you must select which outcome path you want the component to take. Click the Execution Outcome drop-down list and select the outcome path for the workflow to follow.

  • Disabled Mapping

    If the component has output parameters, you must configure all output parameters with fixed data to pass on. This configuration can be performed in the Disabled Mapping option.

Connection information

Not applicable

Component settings

Unknown

Use cases

An example for the Text Exists component is as follows:

  • Form field email

    A process sends an email containing text from a certain field on a form if text exists in that field.

Form field email

Scenario: A company has a customer service survey form on its website. The form has an optional "Comments" box for customers to use to comment on their customer service experience. Any time a customer uses this box, the customer service department Supervisor receives an email that contains that information.

Process: This process is built in a Forms (Web) Project type.

The following screen shot shows the process:

The process begins with the Form Builder component. The process evaluates the Comments box to determine if text exists. The output from this box populates a variable named Comments.

The following screen shot shows the configured form:

After the customer submits the form, the Text Exists component looks at the Comments variable to see if it is populated with text. The component is configured by setting the input variable for it to evaluate.

The following screen shot shows the Text Exists editor:

If text exists, the process follows the "text exists" path out of the Text Exists component. An email containing all of the form data, complete with the contents of the Comments variable, goes to the Supervisor of the customer service department.

If text did not exist in the Comments variable, then the "does not exist" path is taken. An email containing only the required form data (first name, last name, and customer service rating) goes to the customer service department administrator.

Other components in this example are as follows:

  • Form Builder

  • Send Email

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.