Expand SOLIDWORKS PDM File ExplorerSOLIDWORKS PDM File Explorer
Expand SOLIDWORKS PDM Professional Item ExplorerSOLIDWORKS PDM Professional Item Explorer
Collapse SOLIDWORKS PDM Administration ToolSOLIDWORKS PDM Administration Tool
Expand Introducing the Administration ToolIntroducing the Administration Tool
Expand Local SettingsLocal Settings
Expand VaultsVaults
Expand Archive ServersArchive Servers
Expand SOLIDWORKS PDM Add-ins (For SOLIDWORKS PDM Professional only)SOLIDWORKS PDM Add-ins (For SOLIDWORKS PDM Professional only)
Expand Dispatch (For SOLIDWORKS PDM Professional only)Dispatch (For SOLIDWORKS PDM Professional only)
Expand Bills of MaterialsBills of Materials
Expand Data CardsData Cards
Expand Card Lists (For SOLIDWORKS PDM Professional only)Card Lists (For SOLIDWORKS PDM Professional only)
Expand Categories (For SOLIDWORKS PDM Professional only)Categories (For SOLIDWORKS PDM Professional only)
Expand ColumnsColumns
Expand File TypesFile Types
Expand Importing and Exporting Data (For SOLIDWORKS PDM Professional only)Importing and Exporting Data (For SOLIDWORKS PDM Professional only)
Expand Indexing the Vault (For SOLIDWORKS PDM Professional only)Indexing the Vault (For SOLIDWORKS PDM Professional only)
Expand Items (For SOLIDWORKS PDM Professional only)Items (For SOLIDWORKS PDM Professional only)
Expand  Installing and Configuring SolidNetWork Licensing Installing and Configuring SolidNetWork Licensing
Expand Message SystemMessage System
Expand Revision NumbersRevision Numbers
Expand Serial Numbers (For SOLIDWORKS PDM Professional only)Serial Numbers (For SOLIDWORKS PDM Professional only)
Expand  Tasks (For SOLIDWORKS PDM Professional only) Tasks (For SOLIDWORKS PDM Professional only)
Expand Templates (For SOLIDWORKS PDM Professional only)Templates (For SOLIDWORKS PDM Professional only)
Expand ToolboxToolbox
Expand Users and GroupsUsers and Groups
Expand VariablesVariables
Collapse WorkflowsWorkflows
Expand Basic OperationsBasic Operations
Expand Multiple Workflows (For SOLIDWORKS PDM Professional only)Multiple Workflows (For SOLIDWORKS PDM Professional only)
Expand Workflow StatesWorkflow States
Collapse Workflow TransitionsWorkflow Transitions
Expand Creating Workflow TransitionsCreating Workflow Transitions
Expand Parallel Workflow Transitions (For SOLIDWORKS PDM Professional only) Parallel Workflow Transitions (For SOLIDWORKS PDM Professional only)
Adding Transition Conditions
Condition Operators for Workflow Transitions
Requiring Electronic Signatures for Transitions
Expand Adding Transition ActionsAdding Transition Actions
Setting Transition Rights
Example: Automatically Routing Files to Different States (For SOLIDWORKS PDM Professional only)
Expand Workflow NotificationsWorkflow Notifications
Expand Administering Web Servers (For SOLIDWORKS PDM Professional only)Administering Web Servers (For SOLIDWORKS PDM Professional only)
Expand Database ServerDatabase Server
Expand MiscellaneousMiscellaneous
Expand SOLIDWORKS PDM Archive Server Configuration ToolSOLIDWORKS PDM Archive Server Configuration Tool
Expand SOLIDWORKS PDM File Version Upgrade ToolSOLIDWORKS PDM File Version Upgrade Tool
Hide Table of Contents

Condition Operators for Workflow Transitions

When you define conditions for workflow transitions, you can use the following operators in the Comparison column.

The operator is selected under Comparison and is used with the value to determine which files meet the condition.

The comparison operators that are available depend on the variable type you select.

In the table that follows:

  • Search values are case insensitive.
  • Number comparisons work best if the variable type is "number".
  • Date comparisons work best if the variable type is "date".

    Note that the format of the date comparison will depend on the date format assigned globally in the vault properties.

  • The quotes in the examples are not needed.
  • Upgraded or imported workflow conditions try to match the comparison type based on the operator used in the value.
  • If you want to compare values in files with configurations and some configurations have different values in their data cards, you should define a named configuration in the Configuration column to compare the value against. For example, enter @ to always compare values from the @ configuration tab in the data card.
Operator Expression is true if Example
Text_Equal_to.gif Text Equal To The defined value matches an exact text string in a variable. The value "flange" matches files with the exact variable value "flange" but not "lower flange" or "railing". If you leave value empty, all files that do not have a value in this variable would match.
Text_Not_Equal_to.gif Text Not Equal To The defined value does not match an exact text string in a variable. The value "flange" matches files with any variable value that is not "flange", for example "railing" or "upper flange". If you leave the value empty, all files that have a value in this variable would match.
Text_Less_Than.gif Text Less Than A text string in a variable is alphabetically lower than the defined value. The value "ecad" would match files with variable value "acad" but not "ecad" or "mcad".
Text_Bigger_Than.gif Text Bigger Than A text string in a variable is alphabetically higher than the defined value. The value "ecad" would match files with variable value "mcad" but not "ecad" or "acad"
Text_Less_Than_or_Equal.gif Text Less Than or Equal A text string in a variable is alphabetically lower or the same as the defined value. The value "ecad" would match files with variable value "acad" or "ecad" but not "mcad"
Text_Bigger_Than_or_Equal.gif Text Bigger Than or Equal A text string in a variable is alphabetically higher or the same as the defined value. The value "ecad" would match files with variable value "mcad" or "ecad" but not "acad"
Text_Contains.gif Text Contains The defined value matches part of a text string in a variable. The value "finish" would match files with variable value "surface finish" or "finished drawing"
Text_Does_Not_Contain.gif Text Does Not Contain The defined value does not match any part of a text string in a variable. The value "finish" would match files with variable value "completed drawing" but not "finished drawing".
Text_Compare.gif Text Compare Allows the use of comparison operators in the expression. See the following table.
Number_Equal_To.gif Number Equal To The defined value matches the exact number in a variable. The value "123" would match files with variable value "123" but not "12" or "1234"
Number_Not_Equal_To.gif Number Not Equal To The defined value does not match the exact number in a variable. The value "123" would match files with any number besides "123" in the variable value, for example "12" or "1234"
Number_Less_Than.gif Number Less Than A number in a variable is numerically lower than the defined value. The value "123" would match files with variable value "1.23", "12", "122" but not "123", "123.4" or "1234"
Number_Bigger_Than.gif Number Bigger Than A number in a variable is numerically higher than the defined value. The value "123" would match files with variable value "123.4", "124" or "1234" but not "1.23", "12", "122" or "123"
Number_Less_Than_or_Equal.gif Number Less Than or Equal A number in a variable value is numerically lower or the same as the defined value. The value "123" would match files with variable value "1.23", "12", "122" or "123" but not "123.4" or "1234"
Number_Bigger_Than_or_Equal.gif Number Bigger Than or Equal A number in a variable is numerically higher or the same as the defined value. The value "123" would match files with variable value "123", "123.4", "124" or 1234" but not "1.23", "12", "122"
Date_Equal_To.gif Date Equal To The value matches an exact date in a variable. The value "7/30/2012" would match files with variable value "7/30/2012" but not "7/30/2011", "7/29/2012" or "8/30/2012"
Date_Not_Equal_To.gif Date Not Equal To The value does not match an exact date in a variable. The value "7/30/2012" would match files with any date besides "7/30/2012" in the variable value, for example "7/30/2011", "7/29/2012" or "8/30/2012"
Date_Less_Than.gif Date Less Than A date in a variable is earlier than the defined date value. The value "7/30/2012" would match files with variable value "7/30/2011", "7/29/2012" but not "7/30/2012" or "8/30/2012"
Date_Bigger_Than.gif Date Bigger Than A date in a variable is later than the defined date value. The value "7/30/2012" would match files with variable value "8/30/2012" but not "7/30/2011", "7/29/2012" or "7/30/2012"
Date_Less_Than_or_Equal.gif Date Less Than or Equal A date in a variable is earlier than or the same as the defined date value. The value "7/30/2012" would match files with variable value "7/30/2011", "7/29/2012" or "7/30/2012" but not "8/30/2012"
Date_Bigger_Than_or_Equal.gif Date Bigger Than or Equal A date in a variable is later than or the same as the defined date value. The value "7/30/2012" would match files with variable value "7/30/2011" or "8/30/2012" but not "7/30/2011" or "7/29/2012"
Yes_No_operator Yes or No Equal To The value matches the variable value of Yes or No.

Applies to variables using type "Yes or No".

The value "Yes" would match files with "Yes or No" variable set to "Yes" (i.e., with the checkbox control enabled.)

Comparison Operators for Text Compare

Operator Description Example
> Greater than >123
< Less than <123
>= Greater than or equal to >=123
<= Less than or equal to <=123
!= Not equal to !=123
% (percent) Any string of zero or more characters %put% matches "put", "putter", "output", and "computer"
_ (underscore) Any single character _cad matches "ecad" and "mcad"
[chars] Any single character in the set or range Rev[A1] matches "RevA" and "Rev1". Rev[A-C] matches "RevA", "RevB", and "RevC"
[^chars] Any single character not in the set or range de[^xyz]% matches all strings beginning with "de" where the next letter is not "x", "y", or "z".


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Condition Operators for Workflow Transitions
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2016 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.