Workflow and ServiceDesk Community

 View Only

Equals Rule 

Jun 13, 2012 09:47 AM

Equals Rule

Component definition

This component compares two pieces of data to determine if they are equal to one another. It has two output paths: equals and not equals. The Equals Rule component can evaluate data of any primitive type (string, boolean, integer, etc.), or any complex type (custom data type). When the Equals Rule compares primitive types, it checks the values of the variables that being compared. When the Equals Rule compares complex types, it checks to see if the instances point to the same object.

Component icon

Description of component output paths

Unknown

The component output paths are described in the following table:

Property

Description

equals

Unknown

not equals

Unknown

Description of component tabs and their properties

The properties on the Evaluation tab in the Equals Rule component are listed and described in the following table:

Property

Description

Data Type

  • Unknown

    Unknown

The properties on the Settings tab in the Equals Rule 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 Equals Rule component is as follows:

  • Password reset

    A password reset process verifies that a new password was entered consistently.

Password reset

Scenario: Users can click on a link to reset their password. The reset password form asks users to provide their old password and then to type their new password two times to avoid mistakes.

Process: This process is created as a Forms (Web) Project type.

The following screen shot shows the process:

A Form Builder component begins the process. In the form, the users enter their current password, a new password, and then confirm the new password.

An Equals Rule component then verifies that the new password entries match.

The following screen shot shows the Equals Rule editor:

If the two variables NewPassword and NewPasswordConfirm do not match, the Equals Rule component sends the user back into the form to try again.

The rest of the process validates the user, updates the password entry in the database, and notifies the user of a successful password change.

Other components in this example are as follows:

  • Form Builder

  • Demo component

    This component is a non-functioning placeholder. It is contained in the "demo.dll" library.

    For more information on importing libraries to your Project, see the Workflow Solution Designer's Guide.

    www.altiris.com/support/documentation.aspx

  • Custom component

    This component was created with the integration engine.

    For more information on the integration engine, see the Workflow Solution Administrator's guide.

    www.altiris.com/support/documentation.aspx

  • Send Email

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.