I have a workflow that will generate and populate the columns correctly in my Sharepoint list. However, for some of these workflows, when I look at the internal status it is "suspended", status will state "Assigned to X" , not "completed", and tasks will not be sent out. What is odd is that this will only happen for some workflows, and not for others, especially since the workflows are of the same nature. There appears to be no rhyme nor reason as to which workflows end up "suspended" and which end up as "completed".
I get the following error code:
RequestorId: 696140d2-86b2-0b0c-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.DynamicJsonPrimitive'. at Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String key, DynamicItem& value) 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<DynamicValue> Sequence If DynamicActivity<String> BuildCollection<String> DynamicActivity<Collection<String>> NintexActivities.WorkflowXaml_8e03d64c_49b1_4845_a435_94f748f07d04
I know that the error occurs after the 3rd task in my workflow(there error code shows the steps that take place right up to the error), and I am not using any query list or office 365 query actions. I am using the following actions, subsequent to the 3rd task in my workflow:
1. Add time to date action
2. Set workflow variable action
3. Build string action
4. Set Field in Current Item action.
5. Send an email
I am very perplexed by this and any help would be appreciated.
PS. Occassionally, my tasks will be unconfigured for whatever unknown reason, although I know that no one has touched the workflow for weeks. Not sure if this could be related to that.