packageImport

This operation unzips artifact from packageExport, starts import process for each migration 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.

Environment/Instance Properties

Property NameProperty CodeRequiredDescription
Oracle CPQ AccountFDCPQ_CLOUD_ACCOUNT_CODENo*

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.

*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.

Project Properties

Property NameProperty CodeRequiredDescription




Inputs

Input NameInput CodeRequiredDescription
Oracle CPQ AccountFDCPQ_INP_CLOUD_ACCOUNT_CODE*NoThe Oracle CPQ account with all the required properties like instance URL, Username, and Password.
API TimeoutFDCPQ_INP_TIMEOUTNoMaximum amount of time (seconds) to wait for export migration process to complete after it is started. Defaults to 300 seconds (5 minutes).
Clean Other VersionsFDCPQ_INP_CLEAN_OTHER_VERSIONS_OF_SAME_PACKAGENoIf 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 SnapshotFDCPQ_INP_INCLUDE_SNAPSHOTNoInclude migration snapshot. Defaults to false.
Migration DescriptionFDCPQ_INP_MIGRATION_DESCRIPTIONNoThe 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 EmailFDCPQ_INP_SEND_NOTIFICATION_EMAILNoEmail address to send notification email after completed import.
Target Process Variable NameFDCPQ_INP_TARGET_PROCESS_VAR_NAMENoTarget Process Variable Name for Cross Process migration.

Outputs

Output NameDescription


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/instance.

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

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:

The following macros are not currently supported in the footer:
  • style