AdvoLogix Help

Unable to Create a Matter Due to SharePoint Flow Error (SP)

Updated on

Article #000001092

Summary

This article is to help the user overcome the 'uncommitted work pending' error when they use a clone of the SharePoint: Create Folder flow.

Question

Why am I receiving an error below when the SharePoint: Create Folder flow is triggered?
An Apex error occurred:shpoint.customException: You have uncommitted work pending,  Please commit or rollback before calling out Error ID: 2034664232-290086 (-297330358)work pending.  

Resolution/Workaround

This document mentions that DML operations and SharePoint REST API transactions cannot happen in a single operation.  Follow this link to a Salesforce knowledge article that addresses the error precisely.  To bypass the error in our action methods, use the Asynchronous Method input operation = true.

Previous Article Release Notes (SP)
Next Article Users Receive Insufficient Privileges Error When Using the Authorize to SharePoint Button (SP)
Still need help? Click here!
AdvoLogix® is a registered trademark of AdvoLogix.com LLC a Texas Limited Liability Company. All references to other trademarks belonging to third parties that appear on this website, documentation, or other materials shall be understood to refer to those registered trademarks owned by others, and not to any trademark belonging to AdvoLogix. Otherwise, all material herein is the copyright of AdvoLogix.com LLC. All Rights Reserved.