Skip to Content

TodoEntryV2's Created task doesn't show up in SF or sets the subjectId

Sample payload used:

{
"__metadata": {
},
"todoEntryName": "To-do Item from SN",
"status": 2,
"categoryId": "57",
"dueDate": "/Date(1560034000000+0000)/",
"linkUrl": "http://irondome04.lab3.service-now.com:2017/esc?sysId=SNTodoUniqueIdentifier",
"userNav": {
"__metadata":
{
"uri": "User('sfapi2')"
}
}
}

Even if I set property "subjectId": "sfapi2", its not getting set. The pull of the same task has sujectId null. Also the task is not shown as a todo for the user "sfapi2". We are looking at the homepage / todos seciton, where other todos are displayed

NOTE: On the same create payload, if I set categoryId as 41, then I'm able to see the task in SF hompage / todos section.

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.