Assign error - visualbasicvalue1 needing compliation

I am using an assign to help find matching data between 2 datatables. I use this expression in another process and have never gotten an error but i tried it in a new process and get this error:

Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.

this is the value of my assign:

dtDefendants.Select(“Defendant = ‘” + CurrentRow(“Description”).ToString.Replace(“’”, “‘’”) + “'”)

thoughts?

Ensure the doublequotes are of type " and not inverted:

dtDefendants.Select("Defendant = '" + CurrentRow("Description").ToString.Replace("'", "") + "'")

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.