Expressions
Try Convert String to Int
This Activity is for trying to convert a String value to an Integer value. When the activity is dragged to the canvas the user is asked to input the Data Types for the input arguments. The left argument should be set to String and the Right argument should be set to .Net number (Int32, Float etc.). If these are not set appropriately, an error will occur. Blank spaces in the 'number string' ("1 0") will cause an error.
Try Convert String to Int:
Property Name | Data Type | Property Type | Property Description |
---|---|---|---|
DisplayName | String | Misc | This property specifies the name of the activity box. |
Left | String | Input | This property contains the String to be converted to an integer. |
Right | .NET Int32 | Output | This property contains the integer that was converted from the String 'Left'. |
Logical Expressions
The following Activities are for manipulating Logical Expressions:
Logical Negation: If input equals True, then this activity evaluates to False and vice versa. When the Activity is dragged to the canvas, the user is asked to input the Data Type of the input argument which should be a Boolean expression.
Logical And of Two Values: Evaluates the conjunction of two Boolean Values.
Logical Or of Two Values: Evaluates the disjunction of two Boolean Values.
Logical Expressions Properties:
Property Value | Data Type | Property Type | Property Description |
---|---|---|---|
DisplayName | String | Misc | This property specifies the name/text on the Activity Box. |
Left | Boolean | Input | This property specifies the first operand which is a Boolean expression. |
Result | Boolean | Output | This property specifies a Boolean value which is the result of the operation performed. |
Right | Boolean | Input | This property specifies the second operand which is a Boolean expression. |
Arithmetic Expressions
These Activities are used to perform arithmetic operations on two numbers (referred to as Left and Right). The user is asked to input the Type of numbers (Int32, Float, etc.) when the Activity is dragged to the canvas.
The Arithmetic Expression Activities are:
Add: Add Left number and Right number together
Subtract: Subtract Right number from Left number
Multiply: Multiply Left number by Right number
Divide:{*} Divide Left number by Right number
Greater Than:{*} Returns True if Left number is greater than the Right number.
Greater Than Or Equal:{*} Returns True if Left number is greater than or Equal to the Right number.
Less Than:{*} Returns True if Left number is less than the Right number.
Less Than Or Equal:{*} Returns True if Left number is less than or Equal to the Right number.
Bitwise And: {*}Bits in the Result have the value 1 if and only if the corresponding bits in both source operands (Left and Right) are 1.
Bitwise Or: {*}Bits in the Result have the value 1 if either of the corresponding bits in the source operands (Left and Right) are 1.
*Does not contain the property 'Checked'.
Arithmetic Expression Properties:
Property Name | Data Type | Property Type | Property Description |
---|---|---|---|
Checked | Boolean | Misc | If True, the input numbers Left and Right will be checked. If False, no checking is done. |
DisplayName | String | Misc | This property specifies the name on the Activity Box. |
Left | .NET number (Int32, Float, etc.) | Input | This property specifies the first number/operand. |
Result | .NET number (Int32, Float, etc.) | Output | This property contains the Result of whichever operation activity is being used. |
Right | .NET number (Int32, Float, etc.) | Input | This property specifies the second number/ operand. |
VIP DEVOPS INTEGRATION VIP DESIGNER ACTIONS EXPRESSIONS