Size: a a a

2021 February 20

VD

Valentin Drazdov in Uipath RPA
Hi, use Invoke Method
источник

VD

Valentin Drazdov in Uipath RPA
TargetType - don't change (null)
TargetObject - your object (Workbooks("Book1") for example)
MethodName - SaveAs

Put your argument (strFileName) to "Parameters"
источник

VD

Valentin Drazdov in Uipath RPA
Also you can use Activity "Invoke Code" to write much difficult code (if you need to call a lot of methods). To use your objects in it you must to map it with "Arguments" param
источник

R

Rekha in Uipath RPA
Valentin Drazdov
TargetType - don't change (null)
TargetObject - your object (Workbooks("Book1") for example)
MethodName - SaveAs

Put your argument (strFileName) to "Parameters"
Thank you much, will try invoke method..
источник

クリシェナ (Krishna)... in Uipath RPA
Rekha
Thank you much, will try invoke method..
You can execute macros using invoke method
источник

S

SK in Uipath RPA
Should we put try catch only in main methods in RE framework like get transaction data, load transaction data, processtransactiondata
источник

S

SK in Uipath RPA
Not in each sequence and flowcharts
источник

DM

David Mercado in Uipath RPA
They already have try catch
источник

WM

Wilbard Mtei in Uipath RPA
Hi Guys, anyone with experience with java, Oracle and BLOBs

I have a code written in java for downloading images, i would like to use UiPath to query in Oracle and download the images
источник

WM

Wilbard Mtei in Uipath RPA
So far I have managed to do query and able to get all the tables i want, but i can't decode blobs and download images. need help?
источник

S

SK in Uipath RPA
David Mercado
They already have try catch
Yes. So should we use try catch in inside workflows or not required?
источник

DM

David Mercado in Uipath RPA
For me the only important think is to throw an exception when needed
источник

DM

David Mercado in Uipath RPA
In case you throw  a system exception the set status workflow will be on charge of doing a retry
источник

DM

David Mercado in Uipath RPA
In case you throw a business tule exception the framework will know that is not necessary to retry and will increase the transaction number
источник

DM

David Mercado in Uipath RPA
It is also important that in initAllapplications you add the workflows necessary to open the applications that you need to do a normal transaction
источник

S

SK in Uipath RPA
Thanks David. You have mentioned very important point.
источник

S

SK in Uipath RPA
the exception  log that is generated in queue. Is it self explainoratry? I mean does it contains details that from which sequence or flowchart error has occoured and what is the activity that has thrown an error?
источник

DM

David Mercado in Uipath RPA
You’re welcome
источник

DM

David Mercado in Uipath RPA
Yes it will log the error but you can modify the framework and add an aditional log with the excepction.source
источник

DM

David Mercado in Uipath RPA
It will be useful when you give name to your activities
источник