Blog Post

Microsoft SharePoint Blog
1 MIN READ

Visual Studio 2013 Workflow: Failed to translate expression because of the following error: Translating the method or one of its overloads to an activity is not supported

SPDev_Support's avatar
SPDev_Support
Icon for Microsoft rankMicrosoft
May 01, 2019
First published on TECHNET on Sep 10, 2014

This post is a contribution from Charls Tom, an engineer with the SharePoint Developer Support team

When you build a Visual Studio Workflow targeting SharePoint 2013, you will see this error if you are using any expression that’s not supported inside a workflow.

The reason for this is that 2013 workflows support only a very limited subset of .NET framework methods. In case you really need to so some operations that are not supported , best workaround is to implement it as a custom REST service method and call it using ( HttpSend ) where necessary.

Hope this helps!

Updated Aug 27, 2020
Version 2.0
No CommentsBe the first to comment