Deserialize

This Activity deserializes an already serialized Object. It is the flip side of the Serialize Activity. It takes, as Input, a serialized Byte stream and Outputs a .Net Object of the Type used in the original serialization.

Deserialize Properties:

Property Name

Data Type

Property Type

Property Description

OutVariable

.Net Object

Output

This property specifies the Object that SerializedValue should be converted to on deserialization.

SerializedValue

Byte[]

Input

This property specifies the serialized Byte stream that is used as input in the deserialization process.


Serialize

This Activity serializes an Object variable by converting an object into a stream of bytes that can be stored and later turned back into an Object if needed. This activity takes an Object variable as Input and returns a Byte stream (array).

For more information on serialization, see Microsoft docs about serialization.

Serialize Properties:

Property Name

Data Type

Property Type

Property Description

SerializeValue

Byte[]

Ouput

This property indicates the Byte array to be used for the result of the serialization.

VariableToSerialize

.Net Object

Input

This property indicates the Object to which the serialization is to be applied.


Get Property Value

This Activity is for returning the value of an Object Property.

Get Property Value Properties:

Property Name

Data Type

Property Type

Property Description

Object

.Net Object

Input

This property specifies the Object for which the Property Value belongs.

OutValue

.Net Data Type (Int32, String, etc.)

Output

This property holds the value of PropertyName belonging to Object.

PropertyName

String

Input

This property specifies the name of the Property.

ReturnDefault

Boolean

Input

If set to True, the Default value is assigned to OutValue. If set to False, the Value of PropertyName is assigned to OutValue.


Field Value

This Activity is for creating a public variable object that the user expects to change over time. When the Activity is dragged to the VIP canvas, the user is prompted to input the .Net Data Type of both the Operand and the Result.  The Operand contains the Input Value and the Result is assigned the Field value of the public variable.

Example: Use this Activity if there is an object that user expects to change over time but still wants to access field values.  So to cope with Model versions, the user can use this to access the field values.

Field Value Properties:

DisplayName

String

Misc

This property specifies the name of the Activity Box.

FieldName

String

Misc

This property specifies the name of the public Variable.

Operand

.Net Data Type

Input

This property specifies the Input Operand (which could be an Object constructor).

Result

.Net Data Type

Output

This property contains the assigned value of the public Field variable.


New Array

This Activity allows the creation of a New array.  The .Net Data Type of the array is specified when the activity box is dragged to the VIP canvas.  As with New Object, the user must create/declare an Array in the Variables section (lower left corner of the canvas – see figure below).

To declare the New Array, select the Variables link (red circle above) which shows all the Variables that have already been declared and provides a facility to add new ones.  The user should specify the new Array Data Type (Array of Int32/String etc.) and can initialise the variable too (fourth column).  If the new Variables are not initialised, the system will do it anyway with default/empty values.

New Array Properties:

Property Name

Data Type

Property Type

Property Description

Bounds

.Net Collection

-

This property contains the Bounds of the Array Collection.??? Ask Shash

DisplayName

String

Misc

This property contains the name of the activity box.

Result

.Net Array

Output

This property contains the name of the New Array created in the Variables section of VIP.


New Object

This Activity is for creating a New Object.  When the activity is dragged to the VIP canvas, the user is asked to specify the .Net Data Type for the New Object. The user must also declare the New Object in the variables section by selecting 'Variables' on the lower left of the VIP canvas (see fig.). All New Object variables must be added to the list of existing variables.  The user can also initialise the Object variable by giving it a value/s in fourth column.  If not, the system will initialise the Object by default.

New Object Properties:

Property Name

Data Type

Property Type

Property Description

Arguments

Collection

Misc

This property specifies a Collection of Arguments

DisplayName

String

Misc

This property specifies the name of the Activity box.

Result

.Net Data Type

Output

This property specifies the name of the new Object (as input in the variables section of VIP).

VIP DEVOPS INTEGRATION VIP DESIGNER ACTIONS OBJECT ACTIONS