Citrix Provisioning Server
Activities
Add Device To Domain
This activity adds the device to the specified domain.
Add vDisk
This activity imports and adds a vDisk with a given name.
Append vDisk To Device
This activity adds a vDisk to an existing Device on Provisioning Server farm.
Connect To PVS
This activity connects to a Provisioning Server host.
Create Device
This activity creates a new device on the Provisioning Server farm.
Disconnect From PVS
This activity disconnects from a Provisioning Server host.
Get vDisk Info
This activity returns a collection with the specified vDisk properties and their correspondent values on Provisioning Server farm.
Remove Device
This activity removes a specified device from Provisioning Server Farm.
Remove vDisk
This activity removes the specified vDisk from the Provisioning Server farm.
Remove vDisk From Device
This activity removes the specified vDisk from the existing Device on Provisioning Server farm.
Set Access Mode vDisk
This activity sets a new value for the Access Mode property of the specified vDisk.
Set Device
This activity sets new parameters for an existing device.
Set vDisk Build Version
This activity sets a new value for the Build property of the specified vDisk.
Activities Parameters
Connect To PVS
Input values
This activity has seven input parameters of string type. The input values for "Username" , "Site IP" , "Server Domain" and Password Binding are given via IN arguments of type string. "Site Port" parameter has a default value "54321" which is the standard port for Citrix Provisioning Servers using PVS consoles. "Password Binding" parameter has no default value because its value must be passed encrypted when executing the task outside flowster Design Studio (for example User Portal). If the password is to be embedded in the task, "Password" parameter is used then. The value for "Password" parameter is given via the Password editor. When clicked, the Password editor opens and the user may specify the desired password.The "Protocol" parameter has a special drop-down editor and the user selects from the list the desired option for this activity. The default value is "HTTP". IN arguments can be defined for drop-down editors but the value inserted as input must be equal to one of the drop-down list options.
The IN arguments "Username" , "SiteIP" , "ServerDomain" are defined with default value in the Parameters section,Arguments tab in Task Designer panel.
Output values
The output value is stored in "Conn_PVS" variable of type CommandSetClient.The output value stored in "Conn_PVS" variable must be used as input for the "Connection" parameter from all activities placed under Citrix Provisioning Server category.
When defining the variable "Conn_PVS", the default variable type is string. The "Output" parameter is of type CommandSetClient . To define a variable of a different type than the default ones, select the "Browse for Types.." option from the "Variable Type" column.
"Browse and Select a .Net Type" window opens. In the Search field, type "CommandSetClient" and hit "Enter". After the results are displayed, select the CommandSetClient option and hit "Enter".
The "Browse and Select a .Net Type" window will close and the "Conn_PVS" defined variable will be of type CommandSetClient like the type of the "Output" parameter from this activity.
Device Activities Sequence
Get vDisk Info
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
All parameters besides Connection are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
The output returned by this activity is stored into variables:
Add vDisk
All parameters besides Connection are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
The output returned is stored in two variables:
Set Device
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
All parameters besides Connection and Boot From are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
The output returned is stored in one variable:
Set vDisk Build Version
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
The output returned is stored in the variable setBuildVersion_output.
Set Access Mode vDisk
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
All parameters besides Connection and Access Mode are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
The output returned is stored in the variable setAccessModevDisk_output.
Remove vDisk
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
All parameters besides Connection and Delete From Disk are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
The output returned by this activity is stored in the variable RemovevDisk_status.
Create Device
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
All parameters besides Connection are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
The output returned is stored in the variable CreateDevice_status.
Append vDisk To Device
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
All parameters besides Connection and Remove existing vDisk are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
The output returned by this activity is stored in the variable Append_status.
Remove vDisk From Device
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
All parameters besides Connection and Target Device Name are given by the user via IN arguments defined in the Parameters Area from WF Designer panel.
Add Device To Domain
The Connection parameter takes the value stored in the variable defined for Connect To PVS activity.
The Device Name and Server Domain parameters are given by the user via IN arguments.
The output returned by this activity is stored in the variable AddDeviceToDomain_status.
Remove Device
On Execution Workflow
Execution Result: