Assign problem!

I need to assign the data of “sample ID” as a variable, but it come to this problem, may I ask how I can cope with this?

1 Like

Hi @Happydayyy

Change the AppNum Variable to the System.Double datatype in the variables panel.

Hope it helps!!

1 Like


seems there is not have this

1 Like

Type system.Double in the Serach bar then you will find that datatype, click on Double… @Happydayyy

Check the below image for better understanding,
image

Hope you understand!!

1 Like


there is still have an error…

1 Like

FA Sorting AFTER confi…xaml (41.6 KB)
U can have a look on my workflow… Many thanks

1 Like

In the workflow you have deleted the assign activity where you are getting error… @Happydayyy

I Inserted the assign activity in the same place and updated the datatype of AppNum variable to System.Double. Give the expression in the value field of assign activity and try weather it was giving the same error or not.

Here is the updated workflow,
FA Sorting AFTER confi…xaml (41.3 KB)

Hope you understand!!

1 Like

FA Sorting AFTER confi. (3).xaml (41.8 KB)


I dont know why there is still have the mistake…

1 Like

Change the Value expression in the assign activity… @Happydayyy

- Assign -> AppNum = dtSummary.AsEnumerable().Select(Function(row) row.Field(Of Double)("sample ID")).FirstOrDefault()

Hope you understand!!

1 Like


In the nearly end part of workflow, this error is happen…

1 Like

Okay @Happydayyy

Change as below in the Save as file field,

Completed+"\"+AppNum.toString+"FA_Control_robot"

Hope it helps!!

2 Likes

Thank you so much, the problem is solved!!!

2 Likes

It’s my pleasure… @Happydayyy

Happy Automation!!

2 Likes

@mkankatala Hello, Can you go to How to solve this problem? to help me? This seems like a similar issue. Thanks you!!

1 Like

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