Create process rpa.type.add
Scope:
rpaWho can execute the method: any user
This method creates a new process.
Method Parameters
Required parameters are marked with *
|
Name |
Description |
|
fields* |
A list of process fields. The list of possible fields is described below |
Parameter fields
Required parameters are marked with *
|
Name |
Description |
|
title* |
The name of the process |
|
image |
The image of the process from the list |
|
settings |
A list with an arbitrary set of process settings |
|
permissions |
A list of objects. Each object describes access permissions for this process |
Warning
- Automated scenarios, such as creating stages, Automation rules, and default fields, will not be triggered when creating a process via
rest. - The request must specify access permissions for modifying the process.
Code Examples
Create a new process named "My Process". All users can create items for this process. Only the user with id = 1 can change the settings of this process.
How to Use Examples in Documentation
{
"fields": {
"title": "My Process",
"image": "list",
"permissions": [
{
"accessCode": "UA",
"permission": "X",
"action": "ITEMS_CREATE"
},
{
"accessCode": "U1",
"permission": "X",
"action": "MODIFY"
},
]
}
}
Response Handling
The method will return data similar to the response of the method rpa.type.get.
Continue Learning
- Processes: Overview of Methods
- Update the process rpa.type.update
- Get Process Information by ID rpa.type.get
- Get a List of Processes with Their Fields rpa.type.list
- Delete process rpa.type.delete