K2 Package and Deployment can be used to create a package file containing all the information needed to re-create those artifacts in a different environment. For example, the tool can be used to create a package of a SmartObject definition, and then deploy that SmartObject definition to another K2 environment.
Two types of information can be packaged:
For more information regarding which types of artifacts are and are not supported, see the K2 Package and Deployment Overview and the Important Considerations topics.
When packaging and deploying Service Instance artifacts, ensure that the associated backend entities exist on the target environment before attempting to deploy the package. See K2 Package and Deployment Overview for more information.
Artifact validation continues to improve with each release of K2 Package and Deployment. Any validation errors that occur during the configuration of a package must be resolved before the package can be built.
The Automatically include dependent items check box should only be deselected by administrator-level developers who have advanced knowledge of K2 systems. If this check box is deselected, K2 Package and Deployment will not check for artifact dependencies. This means that resulting packages may be created with dependency issues. Deploying a package with dependency issues may cause system errors. Workflows and SmartObjects have many levels of dependencies, and not including a given association or service instance could have serious consequences. If you deselect the Automatically include dependent items check box, you must manually expand and select each of the nodes and sub-nodes of the artifacts you wish to include in the package.
By default, SmartObjectData is deselected so that SmartObject SmartBox data from one environment is not automatically deployed to a new environment. This is done in order to prevent deployment packages from becoming oversized (due to the potentially large amount of data stored within a SmartObject). If you need to package the SmartBox data associated with a particular SmartObject, open the SmartObject node and manually select the required SmartObjectData. For more information, see K2 Package and Deployment Overview.
Warning and Error messages shown in the Status property of an artifact need to be resolved before the package can be created. Double click on the status message to show more information about the warning or error status.
Video | Links | Learn | Support |
No videos found for this article K2 on YouTube
No Additional links found for this article
No self-learning content for this article Try some scenarios...
No relevant support links available for this article
|