1

My goal is to use an SPD workflow that uses the REST API to copy a list item to another list when it gets created in the source list. I can get an item copied when the result item is specified in the Get statement d/results(0)/Title, but that only copies the first item in the list ... how do I define the result (d/results) to not be tied to a specific result item so that each list item created is copied with Title?

enter image description here

1

First set one workflow variable containing Current Item ID

enter image description here

Then use this workflow variable to call REST query for example

http://server/_api/web/lists/GetByTitle('List Title')/items?$filter=ID eq <Workflow Variable>

So it always return current created item..

Check and comment if you have any query...

  • Please up vote answer.. – SID Aug 17 '16 at 8:42
  • Can't vote answers yet – davjaq Aug 18 '16 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.