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

Scope: rpa

Who can execute the method: any user

The method retrieves data on the current tasks of the element with the identifier id of 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 Exploring