Add a New Timeline Entry rpa.timeline.add
Scope:
rpaWho can execute the method: any user
This method creates a new timeline entry for the itemId of the typeId process.
This method allows modifying only the title and description fields.
Method Parameters
|
Name |
Description |
|
typeId |
Process identifier |
|
itemId |
Entity identifier |
|
fields |
Object with fields of the entry |
Fields Parameter
|
Name |
Description |
|
title |
Title of the entry |
|
description |
Description of the entry. HTML tags can be used |
Response Handling
HTTP Status: 200
{
"timeline": {
"id": 325,
"typeId": 24,
"itemId": 10,
"createdTime": "2020-03-26T21:55:25+02:00",
"userId": 1,
"title": "rest update",
"description": "<h5>small header</h5>",
"action": false,
"isFixed": false,
"data": {
"scope": "rest"
},
"createdTimestamp": 1585252525000,
"users": {
"1": {
"id": "1",
"name": "Anthony",
"secondName": "",
"lastName": "",
"title": null,
"workPosition": "",
"fullName": "Anthony",
"link": "/company/personal/user/1/"
}
}
}
}
Continue Learning
- Timeline Records: Overview of Methods
- Update Timeline Record rpa.timeline.update
- Update the Attachment Flag of the Record rpa.timeline.updateIsFixed
- Get the list of timeline records for the item rpa.timeline.listForItem
- Delete Timeline Record rpa.timeline.delete
Copied
Previous