Executes user-provided Windows commands and/or existing bat scripts on a Windows server/machine. The plugin provides the ability for the user to define additional inputs that will be available to the bat scripts when executing. In addition, the plugin provides the ability for the user to define any number of outputs from the execution of the bat script that can be utilized in subsequent steps in the workflow.
...
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|
Project Properties
Property Name | Property Code | Required | Description |
---|
Inputs
Input Name | Input Code | Required | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Code Snippet | FDWSHELL_INP_CODE_SNIPPET | Yes | The commands and/or bat scripts that are to be executed in a Windows environment. | ||||||
Restrict Environment | FDWSHELL_INP_RESTRICT_ENVIRONMENT | No | Provide comma-separated instance codes to restrict environment variables in shell to specified instance codes. If no value is provided all properties are available to shell environment. | ||||||
No Secure Variables | FDWSHELL_INP_NO_SECURE_VARIABLES | No | Check if you do not want to pass secure/encrypted properties in shell environment.
|
...
Outputs
Output Name | Required | Description |
---|---|---|
User Defined | No | See Special Considerations below. |
...
Artifacts
This operation delegates consumes/produces artifacts decision to the workflow developer. Check Consumes Artifacts on the workflow step editor if this operation requires artifacts to be delivered prior to execution of the script. Check Produces Artifacts on the workflow step editor if this operation creates artifacts. The artifacts folder is available via the FD_ARTIFACTS_DIR
variable.
...
Code Block | ||||
---|---|---|---|---|
| ||||
call :setOutput {output name} {output value} #Example#Examples Call: call :setOutput STATUS %{STATUS_VARIABLE}% call :setOutput RESULT "aa bb cc" call :setOutput UPDATECOUNT 1 |