Publish an automation project in RPA Desktop Design Studio
Publish an automation project to RPA Hub from RPA Desktop Design Studio as a package or as a template. After publication, you can quickly deploy automation solutions in the RPA platforms by using the packages or by using a template as a framework to create automations.
Before you begin
Ensure that the automation project file is open in RPA Desktop Design Studio. For more information, see Open a local automation project in RPA Desktop Design Studio.
Ensure that the automation project file is in a separate folder. All the files and folders in the current project file location are published to the RPA Hub.
Verify the connection manager setup in the RPA Desktop Design Studio. For more information, see Set up RPA Desktop Design Studio.
Role required: sn_rpa_fdn.rpa_developer or sn_rpa_fdn.rpa_admin
About this task
Publishing an automation project as a package enables the RPA Hub to execute a process job that executes the workflow in the automation project. You can publish an automation project as a new package or as the version of an existing package.
Publishing an automation project as a template makes it the framework for creating automation projects later. You can publish an automation project as a new template or as the version of an existing template.
Procedure
In the RPA Desktop Design Studio, open the automation project that you want to publish.
On the Design tab, select Publish.
Important:
- If the Code quality check feature is enabled from your RPA Hub instance and your automation project has Code quality check issues, the Code Quality Check Results window displays an error message.
Code quality check performed during publishing of a project.
You can publish a package with errors or with both errors and warnings only if the property **sn\_rpa\_fdn.restrict\_package\_by\_severity** is set as **No restriction** in RPA Hub. For more information, see [Configure RPA Hub properties](rpahub-sys-properties.md). As shown in the following example, these packages are highlighted with the message `Automation contains one or more errors or warnings` when you begin to publish a project.
Error displayed when you're publishing a project with errors or warnings.
For more information on the compliance rules that the Code quality check follows when a package is published from RPA Desktop Design Studio, see [Code quality check compliance for RPA Desktop Design Studio](cqc-publish-studio.md).
- When you enable the **sn\_rpa\_fdn.code\_signing\_required** system property on the instance, it impacts the existing bot processes that are associated with the packages on the same instance because you didn't enable code signing on them earlier while you were publishing from RPA Desktop Design Studio to RPA Hub. As a result, the automations that corresponded to these bot processes failed. To run the failed automation successfully, you must publish the package again with the code signing from RPA Desktop Design Studio to RPA Hub.
- Publish an automation project as a package or template.
| Option | Action |
|---|---|
| Publish the automation project as a package |
Note: Package is the default option.
Note: New Package is the default selection.
Note: By default, the automation project name is the default package name.
|
| Publish the automation project as a template |
Note: By default, the automation project name is the default template name.
|
If code signing is mandated by your organization and you’re publishing the automation project as a package, do the following actions:
In the Certificate location field, select either File or Cert Store as the location of the certificate.
Select the three-dot menu (
Three-dot menu.\) next to the **Certificate** field.
3. Select the installed code signing certificate.
**Note:** You can only select a certificate that has the intended purpose as code signing. If you select a certificate with any other intended purpose, an error is displayed.
4. Select **OK**.
**Note:** This step is applicable only if you’re publishing the automation project as a package.
Parent Topic:Using automations