I have to update in excel after completion of my transaction item in required row

Hi UiPath Team,

I have to update in excel after completion of my transaction item in required row

Input data:

I have populated only status is blank, after completion each transaction I have to update in required CR_Number row like Closed.

Output:

Note: I have to update every transaction item

Thanks
Shaik

Hi @shaik.muktharvalli1 ,

Based on what I’ve understood you can just have a simple If activity with the following condition,
If String.IsNullOrEmpty(in_TransactionItem.SpecificContent(“Status”).ToString)
Then Assign “Closed” in_TransactionItem.SpecificContent(“Status”)

Hope this helps!

Hi @shaik.muktharvalli1 ,

I would suggest not to take only blank by filtering. Instead use one if condition in letter stage to decide if need to process the row or not.

If the Status is blank, process the row and change the status to Closed.

Else,

Do nothing as status is already something.

Getting this error

anyone help please

Thanks
Shaik

May i know why you are passing hardcoded values?

try this linq query

Read_Data.AsEnumerable().Select(Function(row)
If row(“Status”).ToString = “” Then row(“Status”) = “Closed”
row
End Function).CopyToDataTable()

I have to update status column from each Transaction item
some time it will update closed, some time it will exception details i have to update in their status.

thanks
shaik

Hi @shaik.muktharvalli1 ,
Have a look on this workflow and excel file output stored in Sheet2.
Sequence1.xaml (10.0 KB)
status.xlsx (9.7 KB)

But I have to update as per transaction item

I have to update one by one as per transaction item

thanks
shaik

Are you using reframeworko or normal sequence?

I am using REFramwork

thanks
shaik

Then in set transaction status you can directly update the status as per transaction status

Can you share sample workflow to understand

Hi @shaik.muktharvalli1

Please find below screenshot if your transaction item successfull you can add in success sequence in set transaction status likewise if any bussiness exception you can update the status column