Follow in Twitter & Facebook


Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools


Saturday, July 15, 2017

The ExpressionTranslationBuildTask task failed unexpectedly SharePoint online visual studio workflow issue

Here let us discuss how we can resolve the below issue which comes while developing workflow using visual studio 2015 for SharePoint online sites. In one of our requirement we have developed a workflow using visual studio 2015. Here we were trying to send email using Email workflow activitity.

In that activitity we have declared a variable and we were trying to assign into the To field of the email. But it gave us error like:

The "ExpressionTranslationBuildTask" task failed unexpectedly....


Solution:
The solution to resolve the issue was to change the data type of the variable from String to Collection<T> type.

We have declared the variable like below:



To change the variable type, click on the variable type and then select Browse for Types... like below:


And then choose the System.Collections.ObjectModelCollection<T> type like below:


Now the error will not come.




0 on: "The ExpressionTranslationBuildTask task failed unexpectedly SharePoint online visual studio workflow issue"