How to make the REST call to create a new Work Order Task that is child to an existing Work Order?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2015 10:12 AM
We are in version: Eureka and below is our REST call -
URI | |
HTTP Action | POST |
JSON Request | { "parent": "WO0010003", "short_description": "wm task insert test", "comments": "wm task insert test" } |
This request creates the new task but does not associate the new WOT… task to my desired Work Order - WO0010003. What are we missing?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2015 02:44 PM
One thing to note is.. every time I make the call to create the WOT by https://<service-now instance>/api/now/table/wm_task as a child to a already existing WO. I see an extra WO and a WOT being created with parent child relationship. And an error message on the GUI window as - "
Short description must be filled in to exit Draft phase
"
This is probably because the extra WOT created by the system has blank/no "short description"