# Running Reports

**URL:** <https://forum.uipath.com/t/running-reports/416166>\
**Category:** RPA Discussions\
**Tags:** business-analytics, general, security\
**Created:** [April 19, 2022, 9:30am UTC](https://forum.uipath.com/t/running-reports/416166 "2022-04-19T09:30:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt.guzek](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/matt.guzek/32/263143_2.png) [@matt.guzek](https://forum.uipath.com/u/matt.guzek)\
**Post date:** [April 19, 2022, 9:30am UTC](https://forum.uipath.com/t/running-reports/416166/1 "2022-04-19T09:30:24Z")

</div>

Hi,

My name is Matt. I am at a start of my UiPath journey!  
One of my tasks is to:

Open Software \> Navigate to report page \> Open Excel Report \> Save in Folder \> ReName With time Stamp.

I was wondering what would be the best template for this? REFramework? or a Workflow? I need to add in some error handling when logging in to the software and a check if the report has data init.

Any ideas?

Many thnaks

Matt G.

---

<div class="post-metadata">

**Author:** ![athira.somasekharan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/athira.somasekharan/32/189171_2.png) [@athira.somasekharan](https://forum.uipath.com/u/athira.somasekharan)\
**Post date:** [April 19, 2022, 9:43am UTC](https://forum.uipath.com/t/running-reports/416166/2 "2022-04-19T09:43:09Z")

</div>

Hello @matt.guzek ,  
Welcome to UiPath community! 🙂  
For your use case, you can use a workflow. REFramework is normally used in transaction based automations, and your usecase doesn’t seem to be transaction based.  
You can use Try Catch block for exception handling. For example, while logging in to software you can make sure it’s properly logged in and if not- throw an exception.  
To check the report has data in it- After downloading the report, read and store it in datatable using Read Range activity. After that check if **DataTable.Rows.Count=0**. If yes, throw the exception.

Hope this helps.  
Thanks!  
Athira

---

<div class="post-metadata">

**Author:** ![matt.guzek](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/matt.guzek/32/263143_2.png) [@matt.guzek](https://forum.uipath.com/u/matt.guzek)\
**Post date:** [April 19, 2022, 9:51am UTC](https://forum.uipath.com/t/running-reports/416166/3 "2022-04-19T09:51:17Z")

</div>

Hi @athira.somasekharan ,  
Thank you for the welcome 🙂

Yes it did help!

Can I ask, would using a normal sequence be better for this? Or is workflow best use case?

Many Thanks  
Matt G.

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [April 19, 2022, 9:59am UTC](https://forum.uipath.com/t/running-reports/416166/4 "2022-04-19T09:59:34Z")

</div>

@matt.guzek

Welcome to our UiPath community.

You can use **Flow Chart** design for your process.

---

<div class="post-metadata">

**Author:** ![athira.somasekharan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/athira.somasekharan/32/189171_2.png) [@athira.somasekharan](https://forum.uipath.com/u/athira.somasekharan)\
**Post date:** [April 19, 2022, 10:13am UTC](https://forum.uipath.com/t/running-reports/416166/5 "2022-04-19T10:13:59Z")

</div>

Hello,

Normal sequence will also work in this case as its pretty straight forward.

Thanks!

---

<div class="post-metadata">

**Author:** ![Rahul\_Unnikrishnan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rahul_unnikrishnan/32/464046_2.png) [@Rahul\_Unnikrishnan](https://forum.uipath.com/u/Rahul_Unnikrishnan)\
**Post date:** [April 23, 2022, 2:54pm UTC](https://forum.uipath.com/t/running-reports/416166/6 "2022-04-23T14:54:49Z")

</div>

Hello @matt.guzek ,

You can use either Sequence or Flowchart. Both will work fine here. Also if there are chances for exceptions you have to handle it properly and redirect the flow.(you can use a combination of sequence and flowchart)
