This operation unzips artifact from packageExport, starts import process for each migration packages package sequentially to target environment, and waits for completion. The packageImport operation can only be used with a FlexDeploy partial deployment project of type Oracle CPQ.
Artifact contains zero or more zipped migration packages.
...
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Oracle CPQ Account |
| No* | The Oracle CPQ account with all the required properties like instance URL, Username, and Password. The account will be likely be different for each CPQ environment. |
Project Properties
...
*Oracle CPQ Account will be required on either the input or Target. If a value is set on both then, the input will take precedence.
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Oracle CPQ Account |
| No | The Oracle CPQ account with all the required properties like instance URL, Username, and Password. |
API Timeout |
| No | Maximum amount of time (seconds) to wait for export migration process to complete after it is started. Defaults to 300 seconds (5 minutes). |
Clean Other Versions |
| No | If there are one or more packages on the site with the same name, then remove them after the migration is successful. Defaults to false. |
Include Snapshot |
| No | Include migration snapshot. Defaults to false. |
Migration Description |
| No | The description of the migration package being imported. Groovy Script example: FD_PROJECT_NAME + " " + FD_PROJECT_VERSION + " deployed by FlexDeploy on " + FD_ENVIRONMENT_NAME + " environment" |
Notification Email |
| No | Email address to send notification email after completed import. |
Target Process Variable Name |
| No | Target Process Variable Name for Cross Process migration. |
...
Artifacts
This operation consumes a zip file that contains one more zipped migration packages.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instanceTarget.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Special Considerations
*Oracle CPQ Account will be required on either the input or environment instance. If a value is set on both then, the input will take precedence.
Oracle CPQ project type has one object type Migration Package with only File Name attribute.
Project files can be populated from Oracle CPQ build environment automatically. To this follow these instructions:
- Oracle CPQ Integration account must be created with URL, User and Password set
- Environment Instance property (FDCPQ_CLOUD_ACCOUNT_CODE) must select the integration account created in previous step.
- Populate from CPQ on project files tab on your project
- Review files populated from CPQ Environment and save
- Notice File Name is populate with package name from environment.
- Done
Only one packageImport can execute on an environment at a time due to Oracle CPQ restraints. For example, if packageImport operation is executing on Development environment, all other concurrent packageImport operation to Development environment will automatically wait until lock is released before starting.
User does not need to worry about this concurrency but be aware that execution may take more time depending on number of concurrent executions. You can always abort a workflow execution to speed up the process, if necessary,
In the logs, you will notice if CPQ packageExport operation is already running. See below example log:
...