SharePoint Workflow 2013 always Suspended showing Looking up a value using a key is not supported

%3CLINGO-SUB%20id%3D%22lingo-sub-1270009%22%20slang%3D%22en-US%22%3ESharePoint%20Workflow%202013%20always%20Suspended%20showing%20Looking%20up%20a%20value%20using%20a%20key%20is%20not%20supported%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1270009%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22votecell%20post-layout--left%22%3E%3CDIV%20class%3D%22js-voting-container%20grid%20fd-column%20ai-stretch%20gs4%20fc-black-200%22%3E%3CSPAN%3EI%20am%20having%20this%20issue%20in%20SP%20Workflow%202013%20that%20every%20time%20it%20executed%20%2C%20it%20always%20goes%20to%20Suspended%20stage.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22js-voting-container%20grid%20fd-column%20ai-stretch%20gs4%20fc-black-200%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22postcell%20post-layout--right%22%3E%3CDIV%20class%3D%22post-text%22%3E%3CP%3EHowever%2C%20After%20completing%20the%20web%20service%20call%20and%20reading%20the%20d%2Fresults%20it%20shows%20the%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3ERequestorId%3A%203d5f4981-27fc-e36f-0000-000000000000.%20Details%3A%20An%20unhandled%20exception%20occurred%20during%20the%20execution%20of%20the%20workflow%20instance.%20Exception%20details%3A%20System.InvalidOperationException%3A%20Looking%20up%20a%20value%20using%20a%20key%20is%20not%20supported%20on%20an%20instance%20of%20'Microsoft.Activities.Dynamic.DynamicPrimitive'.%20at%20Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String%20key%2C%20DynamicItem%26amp%3B%20value)%20at%20Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem%20obj)%20at%20Microsoft.Activities.GetDynamicValueProperty1.Execute(CodeActivityContext%20context)%20at%20System.Activities.CodeActivity1.InternalExecute(ActivityInstance%20instance%2C%20ActivityExecutor%20executor%2C%20BookmarkManager%20bookmarkManager)%20at%20System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor%20executor%2C%20BookmarkManager%20bookmarkManager%2C%20Location%20resultLocation)%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22error.png%22%20style%3D%22width%3A%20775px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F181196i7294091FCDFF4221%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22error.png%22%20alt%3D%22error.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKindly%20assist%3C%2FP%3E%3CP%3ECheers%2C%20Thank%20you!%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1270009%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWorkflow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor
I am having this issue in SP Workflow 2013 that every time it executed , it always goes to Suspended stage.
 

However, After completing the web service call and reading the d/results it shows the error

 

RequestorId: 3d5f4981-27fc-e36f-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.DynamicPrimitive'. at Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String key, DynamicItem& value) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.GetDynamicValueProperty1.Execute(CodeActivityContext context) at System.Activities.CodeActivity1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

 

error.png

 

Kindly assist

Cheers, Thank you!

 

0 Replies