Windows
...
Table of Contents | ||
---|---|---|
|
...
Activities
...
Get Current User Info
...
This activity outputs the domain and username of the currently logged user.
Cmd
...
This activity runs a Windows CMD.exe command.
Activity Parameters
Cmd
...
This activity has two input parameters that may be given as IN arguments by the user. In this showcase the values are inserted directly into the parameter’s fields.
...
: "Command" parameter is of type string and "Timeout" parameter is of type Int32. The input values for the "Command" and "Timeout" parameters are given via two defined IN arguments of type string.
The two IN arguments are defined with default value in the Parameters section,Arguments tab in Task Designer panel.
The output value is stored in one OUT argument. Given the case, variables may be used in the same manner. If the output values are not to be passed outside the task, variables need not be defined, but instead set the "Track Outputs" property for this activity to "Yes" and the output values will be displayed in the Tracking Data without storing them in variables/OUT arguments.
OUT arguments are displayed by default in the Output tab from the Tracking Data panel, so no other activities need be used for displaying the returned values .
Get Current User Info
This activity has no input parameters because it only outputs the Username and Domain of the currently logged user.
The output values of the two output parameters are passed to the OUT arguments defined in the Parameters area from WF Designer panel. The arguments of direction OUT are displayed in the Output section of Tracking Data panel on running workflow.
...
Execution result:
are stored in two defined OUT argument. Given the case, variables may be used in the same manner. If the output values are not to be passed outside the task, variables need not be defined, but instead set the "Track Outputs" property for this activity to "Yes" and the output values will be displayed in the Tracking Data without storing them in variables/OUT arguments.
OUT arguments are displayed by default in the Output tab from the Tracking Data panel, so no other activities need be used for displaying the returned values .
On Execution (Home->(Execution section) Start button) - task "Windows_Demo" , Tracking Data panel should display:
In order to import "Windows_Demo" task in Flowster Admin Suite, use Windows_Demo.zip attachment. ( For further information check Importing Tasks in Flowster Admin Suite )