Create template
- Updated: 2024/06/20
Create template
Create a custom template to build a framework containing a list of steps that you can use to automate repetitive work.
Reduce the time to build using templates with built-in best practices, leading to enhanced automation quality and reliability. You can create and reuse templates to capture repetitive patterns seen in automations, further optimizing developer productivity.
For example, your organization runs a biweekly data backup to store and secure data on the cloud, and this process is being automated across multiple departments. Instead of each department building the automation from scratch, they can use templates to customize it based on their own unique requirements.
Prerequisites
- This task is performed by a user who has a Bot Creator or Citizen Developer license.
- The user must have View my bots permission.
- To check in and check out the templates, user must have Check in and Check out on the folders of where the template resides.
- Use an existing automation.
- Create a new template from a Task Bot.
- Create a new template from a process in Process Composer.
Create a template from an existing automation
- Log in to the Control Room.
- On the Automation page, open an existing automation.
- Add new actions or modify the existing property values in the automation.
- Click Save as Template to save the template.
Create a template from a Task Bot
- Log in to the Control Room.
- Create a new template.
- On the left pane, click Automation.
- Click .
- In the Create Task Bot window, enter the template name.
- Accept the default folder location: \Bots\.
To change the default template storage location, click Choose and follow the prompts.
- Click Create and edit.
- Based on your use case, you create a custom template in the Bot editor using actions from the Action pane, and then select the Save as Template option.
- In the window that opens, enter the template name, description, and path, and then click Save.
Create a template from a process
- Create a new process or open an existing process in Process
Composer:
- Log in to your Control Room as a Bot Creator.
- From the left pane, click Automation:
- To create a new process, click Create new > Process and enter a name. Click Create & edit. For more details, see Create a process automation in Process Composer.
- To access an existing process, click the process automation name from the available list.
- After you have created and saved a new process, or edited an existing process, click Save as Template at the top right corner of the page to save the process as a template.
- Enter a name for the new process template, description (optional), and set the destination folder in the Save as template dialog.
- Click Save. The following shows an example of a newly created process template. To indicate the type of file, the Process template label displays at top left corner of the page next to the Process template's title.
- To make this new process template available to other users, you must check it in. For more details, see Check in a template.