- Source code repository has individual files for Informatica workflow and other objects that needs to be deployed and tracked individually.
- Source control system has individual files defining WebSphere resource configuration and they needs to be deployed and tracked individually.
- PROJECT_TYPE - Package deploy project type, GENERIC, EBS, MDS etc
- OBJECT_TYPE_CODE - Object type for the File.
-
File level attributes
- FILE_PATH - File path of the package deploy file. (File Name (with path)) on the package deployment screen.
- FILE_NAME - File name of the package deploy file
- FILE_PATH_PREFIX - File path, excluding the file name and extension
- FILE_EXTENSION - File extension on the package deploy file.
- FILE_HASH - The Hash of the file as generated recorded by FlexDeploy
- FILE_SCM_REVISION - The SCM Revision of the package deploy file
- SOURCE_FILE - Fully qualified location of the file on the endpoint.
- All file attributes defined on Project Files tab are included as well.
File level variable example
Environment Variable | Value if File Name (with path) is /XXHR/publisher/APXSOBLX_1.rtf |
|---|---|
| /XXHR/publisher/APXSOBLX_1.rtf |
| APXSOBLX_1 |
| /XXHR/publisher |
| rtf |
| <Workflow Execution Temp Directory>/XXHR/publisher/APXSOBLX_1.rtf |
Project Properties
Property Name | Property Code | Required | Description |
|---|---|---|---|
Project File Includes |
| No | Controls files included in Project Files. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with * for simple wildcards. Otherwise, regex |
Project File Excludes |
| No | Controls files excluded from Project Files. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with * for simple wildcards. Otherwise, |
Stop On Deployment Error |
| No | Stop deploying package files if any error occurs. If unchecked all files will be deployed even if one or more files fails. This is for packageExecute operations only. |
Inputs
Input Name | Input Code | Required | Description |
|---|---|---|---|
Code Snippet |
| Yes | The cmdlets and/or PowerShell scripts that are to be executed in a Windows environment. |
Use PowerShell 6+ |
| No | Check If you want to execute the script on PowerShell 6+. If it is unchecked then it will execute on PowerShell 1-5. |
Restrict Environment |
| No | Provide comma-separated target group codes to restrict environment variables in shell to specified target group codes. If no value is provided all properties are available to shell environment. |
Continue On Error |
| No | Flag that indicates whether the PowerShell script should continue on an error or stop on processing. Check if you want to continue execution of PowerShell script when error occurs. |
No Secure Variables |
| No | Check if you do not want to pass secure/encrypted properties in PowerShell environment. |
Perform Property Replacement |
| No | Check to perform property replacement on source file before execution of script. |
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 theFD_ARTIFACTS_DIR variable.
Endpoint Selection
This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to “All”, which selects all available endpoints associated to the Target. Selecting a specific resource will result in selection of endpoints associated to the Target which have that resource defined.Endpoint Execution
This operation delegates endpoint execution to the workflow developer. The workflow editor will default to “Any”, which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to “All” to will result in execution on all selected endpoints.Special Considerations
Environment Variables - to use an input in your code snippet, you must create an environment variable by prefixing the plugin variable with$env: in order for it to be used by Windows PowerShell. This method must also be applied when using any environment variables, such as JAVA_HOME or FD_INSTANCE_CODE. Any number of inputs or properties can be used.
User Inputs
Environment Variables
Indicate file was not processed and should not consider status
force the cmdlet to complete without the user input and then re-build or re-deploy.