Processes
Scope: catalog Permissions: all
You can find more about processes in RPA module documentation
rpa.type.*
Class | Description | Available from version |
---|---|---|
rpa.type.get({id: number}) |
Passes information about the process by its ID. Parameter:
Response:
|
|
rpa.type.list({select: ?[] = ['*'], order: ?{} = null, filter: ?{} = null, start: ?number = 0}) |
Method returns array of processes with their fields.
Parameters:
|
|
rpa.type.add({fields: {}}) |
The method creates new process and returns data similar to rpa.type.get response data. fields - list with process fields:
Important! Query must contain access permissions for process update Important! Automatic scenarios (creating stages, automation rules and default fields) cannot be launched when creating a process via Example of query This query creates new process under the name "My process". All users can create items for this process. Only user with ID 1 can modify this process settings
|
|
rpa.type.update({id: number, fields: {}}) |
Method updates the process with id and returns data in response, similar to response to a query rpa.type.get . Parameters:
|
|
rpa.type.delete({id: number}) |
Method deletes the process. Parameters:
|
© «Bitrix24», 2001-2024