Error [Assign: Expression Activity type 'VisualBasicValue`1' requires compilation in order to run. Please ensure that the workflow has been compiled.]

Hi all,
I’m not sure why this error happens every time, any idea to fit it?
image
This is the value I put into:
String.Join(“parameter”,Directory.GetFiles(FolderPath,”*”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1))

Hi,

This issue might be caused by double quote except " (0x22).
For now, can you try to check there is non-0x22 double quote such as ” and replace it with " (0x22)?

Regards,

1 Like

HI @RPA_Innovation

Try with this expression

String.Join("parameter",Directory.GetFiles(FolderPath,"*").OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1))

This might be Double Quotation issue

Check out this thread

Regards
Gokul

thank you!! it works perfectly

2 Likes

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