This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

Users cannot package and deploy Roles from source environment to the destination.

Symptoms

When you create a package, Roles added in the Users > Roles section will not package as a part of your solution. This is by design.

Troubleshooting Steps

Roles will only get packaged when they are part of a process. Please see the following example:

Image

K2 roles associated with the workflows are automatically packaged when you are packaging a solution. The Role 'Package Role test' is added to the package as an additional item, since it is part of the process.

Image