Others

Troubleshoot SharePoint Approval Workflows Suspended by a DynamicJsonPrimitive Error

Algirdas JasaitisAlgirdas Jasaitis Nov 22, 2026 868 views

Question details

Investigate why multiple SharePoint approval workflows are suspended with a DynamicJsonPrimitive lookup error.

Troubleshoot SharePoint Workflows Suspended by a DynamicJsonPrimitive Error
Product
Microsoft SharePoint workflows
Device & OS
not provided
Scenario
Approval workflows are running on SharePoint sites and need to complete their approval processes.
Observed behavior
Multiple workflows are suspended with an unhandled exception stating that lookup by key is unsupported on a Microsoft.Activities.Dynamic.DynamicJsonPrimitive instance.
Before you start

Collect the full error message and identify the affected workflow instances and their SharePoint sites. Confirm that you have permission to view workflow status and configuration, or ask a SharePoint administrator for assistance.

Solution 1Recommended

Compare affected workflows and inspect their status

Use workflow history and shared configuration details to narrow down where the suspension occurs.

The error indicates that a workflow attempted a key-based lookup on a primitive value rather than an object that supports that lookup. The message alone does not identify the underlying cause.

1
Review a suspended instance

Open the affected list or library, select an item with a suspended workflow, and open its workflow status or history. Record the error, the time it occurred, and the last action or stage shown.

2
Compare workflow configurations

Open each affected workflow in its workflow designer or settings and record its site, workflow platform version, configuration, and actions. Check whether the affected workflows share a site, data source, or action.

3
Inspect dynamic lookups

In the workflow designer, examine lookup or response-processing actions near the reported failure. Check whether an action expects a key-value object but could receive a single text, number, or other primitive value.

4
Test a new workflow

Create and run a simple test workflow in the same site using the same platform, then compare its status with the suspended instances. Add relevant actions in a test workflow to help isolate any shared trigger.

Compare affected workflows and inspect their status
Results require further investigation: A successful test does not by itself prove the cause. Compare the test inputs and actions with the affected workflows before changing production configurations.
Free Microsoft Office alternative

Edit approval documents with WPS Office

WPS Office is a free, lightweight alternative for editing the documents and spreadsheets used in approval processes. Its familiar interface and Microsoft Office format compatibility help teams move between office suites. It does not troubleshoot or run SharePoint workflows.

Edit approval documents and tracking spreadsheets in one office suite.Work with Microsoft Word DOCX and Excel XLSX files.Use a familiar interface for a smoother transition from Microsoft Office.Access free, lightweight tools for everyday document work.
microsoft office alternative - wps office

Frequently Asked Questions

What does the DynamicJsonPrimitive lookup error mean?

It indicates that the workflow attempted to look up a key on a primitive value, such as a single string or number. Inspect dynamic lookup and response-processing actions near the failure in the workflow designer to identify the value involved.

How can I tell whether affected workflows share a cause?

Compare their SharePoint sites, platform versions, configurations, data sources, and last recorded actions. Then run a simple new workflow on the same site and platform to see whether it also suspends.

Where can I find details about a suspended workflow?

Open the affected item in its SharePoint list or library and view its workflow status or history. Record the exception, timestamp, last action or stage, and any available instance or correlation ID.

Does WPS Office fix a suspended SharePoint workflow?

No. WPS Office can edit compatible approval documents and spreadsheets, but the SharePoint workflow error must be investigated in SharePoint and its workflow platform.