If Condition in for each query in invoke code
Use Case Description
Hi Team,
Just needed a help in one of the for each query that i have used in invoke code activity. I am Attaching my code below:
downloadedfile_DT.AsEnumerable().ToList().ForEach(Sub(row) row(“Difference”)=CDbl(row(“Rate/Unit”).ToString)-CDbl(row(“Price from Price Master”).ToString))
This code is working absolutely correct. But in addition to this code, i want to check for those values in “Rate/Unit” column and “Price from Price Master” column that are non null only. So, how can i add if condition in this query please help me with it.
Thanks in Advance.
AS-IS WORKFLOW, TO-BE WORKFLOW
-
Other information about the use case
Industry categories for this use case: Information Technology and Services
Skill level required: Intermediate
UiPath Products that were used: UiPath Studio
Other applications that were used: -
Other resources: -
What is the top ROI driver for this use case?: Accelerate growth and operational efficiency