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:
The properties on the Settings tab in the Equals Rule component are listed and described in the following table:
Connection information
Not applicable
Component settings
Unknown
Use cases
An example for the Equals Rule component is as follows:
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