I am using SharePoint 2013 Enterprise version. I have already configure Workflow 2013 platform.

I am creating workflow with visual studio 2105 ultimate version. What I am doing is that I am getting current item for running workflow. Based on that item property I am filtering other list (SharePoint 2013 rest api) through httpsend and get data in json format whcih I am storing in dynamic value variable. I am getting multiple item. When I debug the workflow I can see the data.

But now issue starts here, When I am making string by looping dynamic value but I am getting empty value.

Kindly tell me what I am doing wrong. May something I am missing :(

  1. Full workflow screen

enter image description here

  1. httpsend properties

enter image description here

  1. httpsend request headers

enter image description here

  1. httpsend uri

enter image description here

  1. For loop GetDynamicValueProperties variable assignment

enter image description here

  1. For Loop String Builder, but when I write the string on history I am not getting of item, just static string is coming

enter image description here

2 Answers 2


Before your foreach loop, assign a new dynamicValue to the d/results property of the GatePassDetailsProperties dynamicValue (or reuse and reassign the current dynamicValue). Then, for each item, you'll be able to get Title, Nationality, JobTitle, PassportNo as the top-level property.

Also, make sure your assignments are going to variables and not the output parameters. You'll use the variables to assign the values to the output params. The workflow design surface can be a real pain in the neck and not do what you'd expect if you try to assign to the output params directly from a GetDynamicValueProperties activity. It does work as expected when the activity for assigning a single property is used.

  • Thank you very much for your reply. Let me try this and I will inform you.
    – Milind
    Apr 20, 2016 at 3:31
  • Can I get example that how can I do that or some article URL. I will be highly appreciated
    – Milind
    Apr 20, 2016 at 5:59
  • Thanks I could resolve the issue as per your instruction
    – Milind
    Apr 20, 2016 at 7:30
  • I'm glad I could help!
    – Shel
    May 17, 2016 at 2:10

Many Thank to @Shelly Coburn. Her instruction put me in right direction. Below is the way to solve the issue.

  1. After getting httpsend we will get data as

    "d" : { "results" : [] } So I reassign dynamic value to itself

enter image description here

  1. Then In define properties I gave path

enter image description here

  1. Then I use ForEach loop as my original question but now reassign direct properties as below

enter image description here

Bingo all works as I want, Many thanx Shelly Coburn to putting me right direction.

Hope it can help to somebody

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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