POST to Task List Using REST in a SharePoint 2013 Designer Workflow

I am trying to create a task item from a reusable workflow using SharePoint designer. I am using "Call HTTP Web Service" with POST.  I can create the list item with all fields except the "AssignedTo" field.  The field is a multiuser field.  It does not work using any of the following: "20,4" or "20;4" or "[20,4]".  I have even tried the javascript format but that also does not work: {"results":[20]}".

I cannot use the built-in Create List Item action because that does not provide access to additional fields including the "Content Type" field.

February 24th, 2015 12:21am

Hi,

According to your description, you might want to set value to the Assigned To field of a Task list in SharePoint Designer workflow using Call HTTP Web Service action.

Though the internal name of the Assigned To field is AssignedTo, when calling REST API, it is required to use AssignedToId:

I suggest you test with AssignedToId when building the dictionary.

If the issue still exists, please provide steps in details about how you composite this workflow in SharePoint Designer for further research.

Thanks

Patrick Liang

Forum Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
February 25th, 2015 6:35am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics