Uipath re framework convert to datatable

I am converting default UiPath default re framework structure to datatable Approach, I have done converting all those basic steps.

I Needs to run the process data table approach only once: I am doing the get Transaction Data xaml inside using if condition to check the in_TransactionNumber =1

Else part I am mentioned out_TransactionItek = Nothing
In then part if I am not having data table means what condition I Needs to write out_TransactionItem = “”.
Anyone help for the solution

Hi @BHUVAN

in the then part of get transaction data, if your datatable dt_input is empty or has no more rows, you can set out_transactionitem = nothing to stop the process.
Use condition like in_transactionnumber less than or equal to dt_input.rows.count in the if activity. if false, set out_transactionitem = nothing. if true, set out_transactionitem = dt_input.rows(in_transactionnumber minus 1).

@BHUVAN,

What’s the datatype of the out_TransactionItem ?

Hey @ bhuvan hope you change the Transaction item type from queue to Datarow .
this is important if you are working with Excel not Queues.after updating those things you have to change some certain things in the Get Transaction xaml.i share the screenshot which help you .

change these steps now you are good to go with Excel

cheers

1 Like

Hello @BHUVAN,

You can refer this video.

1. UiPath RPA Use Case : Create Card | ReFramework without Orchestrator Queue | With Excel Datatable

Regards,
Bharat

@BHUVAN

in condition use in_TransactionNumber =1 AndAlso dt.Rowcount>0

cheers

Hi @BHUVAN

You can refer below post on same.

It has all notes about changes that needed to be done for datatable approach. Also includes the sample project for same.

Hope this helps.

Regards
Sonali

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