Get Data on Current Tasks of the Element rpa.item.getTasks

Choose a tool for developing with an AI agent:

  • use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
  • use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation

Scope: rpa

Who can execute the method: any user

DEPRECATED

The development of this method has been halted. Use Smart processes as an alternative to this functionality.

This method retrieves data on the current tasks of the element with the identifier id for the process with the identifier typeId.

Method Parameters

Name
type

Description

typeId
integer

Identifier of the process

id
integer

Identifier of the element

Response Handling

HTTP Status: 200

{
            "tasks": [
                {
                    "id": "93",
                    "title": "asdf",
                    "description": "",
                    "userId": 1,
                    "data": {
                        "participantJoint": "or",
                        "isMine": true,
                        "controls": {
                            "BUTTONS": [
                                {
                                    "TYPE": "submit",
                                    "TARGET_USER_STATUS": 3,
                                    "NAME": "complete",
                                    "VALUE": "Y",
                                    "TEXT": "Save",
                                    "COLOR": "3bc8f5"
                                }
                            ]
                        },
                        "type": "RpaRequestActivity",
                        "url": "/rpa/task/id/93/",
                        "fieldsToShow": null,
                        "fieldsToSet": [
                            "Title"
                        ],
                        "users": [
                            {
                                "id": 1,
                                "status": 0
                            }
                        ]
                    },
                    "itemClassName": "BX.Rpa.Timeline.Task",
                    "users": {
                        "1": {
                            "id": "1",
                            "name": "Anton",
                            "secondName": "",
                            "lastName": "Gorbylev",
                            "title": null,
                            "workPosition": "",
                            "fullName": "Anton Gorbylev",
                            "link": "/company/personal/user/1/"
                        }
                    }    
                }
            ]
        }
        

Continue Your Exploration