Workflow Expression Error: Left and Right argument types should match for comparison operations

Damir Dobric Posts

 

Damir@Phone    

       
twitter 

 

When building custom workflows in SharePoint or when building in general Workflows with WF 4.5, you might get following error:

”Left and Right argument types should match for comparison operations”

Due the new C# Expression support, this error will happen if you have an C# expression like shown at the next picture:

image

To workaround this, change expression as follows:

image


Posted Aug 20 2012, 12:24 PM by Damir Dobric
Filed under: ,

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
developers.de is a .Net Community Blog powered by daenet GmbH.