Error when trying to read from a dictionary RRS feed

  • Question

  • Hi there, I am trying to retrieve a piece of information using the 'get an item from a dictionary' action.  

    I've set up the action to read from a dictionary which stores information just retrieved using the call http web service action, but now I need an item in that dictionary.  I've parsed through the string returned from the http call and noticed that the information I want is under the route 'value/modified' which is what I entered, only without the single quotes...

    but my workflow gets suspended and following is the error message I get:

    RequestorId: 0de36620-da97-6e20-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.InvalidOperationException: Looking up a value using a key is not supported on an instance of 'Microsoft.Activities.Dynamic.DynamicArray'. at Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String key, DynamicItem& value) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity GetDynamicValueProperty<String> Sequence Microsoft.SharePoint.WorkflowServices.Activities.AppOnlySequence Then If Project Number Generation Sequence Flowchart Sequence New Project.WorkflowXaml_6f5894a5_7f8f_480f_8b7b_6cc37164f328

    I got lost somewhere along the message....but I'm seeing that DynamicValue is not supported??I must be doing something wrong...please let me know what it is...

    the uri I used:'Client List')/items?$format=jason&$filter=Title eq [%Current Item:Client%]

    snapshot of my workflow:

    P.S. I realize now that I've posted this question in the wrong discussion apologies and please move me as you see appropriate...

    thank you!


    Tuesday, January 20, 2015 7:22 PM