Advantages of Package
- Last UpdatedJul 25, 2023
- 1 minute read
Currently, packaging and deploying one or many artifacts from one environment or repository to another is done either by exporting and importing the artifacts. You can use the recovery task of packaging to deploy one or many artifacts from one environment or repository to another.
Package Versus Export Import
-
Export and import feature is helpful when you want to deploy a single artifact in a different environment.
-
You can export and import only one artifacts at a time.
-
An imported artifact is not always valid on the target environment, if the associated artifacts are not present.
Example:
Create a ‘LeaveWorkflow’ add an Information activity and assign it to a queue say ‘UsersQueue’.
Export the ‘LeaveWorkflow’ from the source environment and import it to the target environment. The target environment has no queues created.
Since ‘UsersQueue’ does not exist in the target environment, the ‘LeaveWorkflow’ is invalid.
You have to manually create the ‘UsersQueue’ in the target environment.
Package Versus Recovery
The recovery feature allows you to replicate the entire repository with all the artifacts in the target environment. A choice to add only few artifacts to the target environment is not available. This option is beneficial when the entire repository needs to be deployed in another environment.