Tuesday, January 19, 2016

How to Copy List item to Another list using sharepoint designer 2013 workflow?

We can use the the REST services to move the items one to another list.
  • Add Dictionary is a new variable 
  • create a dictionary add Build Dictionary action
  • Accept and Content-Type
  •  set the values for both of them to application/json; odata=verbos
  • add key __metadata 
New item created from workflow 
call the web service
_api/web/lists/getbytitle('examples')/items and the HTTP method is POST. 
Set the request to your parameters dictionary. 
To set the header of your request go to :
Right click option

Call HTTP service -> properties -> RequestHeaders and set it to your header dictionary.
 

No comments:

Post a Comment