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 package-based project of type Oracle CPQ.

Artifact contains zero or more zipped migration packages.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Oracle CPQ Account

FDCPQ_CLOUD_ACCOUNT_CODE

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.

*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

Input Name

Input Code

Required

Description

Oracle CPQ Account

FDCPQ_INP_CLOUD_ACCOUNT_CODE*

No

The Oracle CPQ account with all the required properties like instance URL, Username, and Password.

API Timeout

FDCPQ_INP_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

FDCPQ_INP_CLEAN_OTHER_VERSIONS_OF_SAME_PACKAGE

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

FDCPQ_INP_INCLUDE_SNAPSHOT

No

Include migration snapshot. Defaults to false.

Migration Description

FDCPQ_INP_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

FDCPQ_INP_SEND_NOTIFICATION_EMAIL

No

Email address to send notification email after completed import.

Target Process Variable Name

FDCPQ_INP_TARGET_PROCESS_VAR_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 Target.

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 packageImport operation is already running. See below example log:

image-20240306-153807.png

 

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