# Throw activity bug

**URL:** <https://forum.uipath.com/t/throw-activity-bug/147081>\
**Category:** Help\
**Tags:** system, activities\
**Created:** [2 Septiembre, 2019 09:00 UTC](https://forum.uipath.com/t/throw-activity-bug/147081 "2019-09-02T09:00:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhennespiritu](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@dhennespiritu](https://forum.uipath.com/u/dhennespiritu)\
**Post date:** [2 Septiembre, 2019 09:00 UTC](https://forum.uipath.com/t/throw-activity-bug/147081/1 "2019-09-02T09:00:36Z")

</div>

When using throw activity the error throws and ends in workflow and not being caught by the main workflow.

---

<div class="post-metadata">

**Author:** ![sandeep13](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sandeep13/32/79017_2.png) [@sandeep13](https://forum.uipath.com/u/sandeep13)\
**Post date:** [2 Septiembre, 2019 09:05 UTC](https://forum.uipath.com/t/throw-activity-bug/147081/2 "2019-09-02T09:05:26Z")

</div>

@dhennespiritu  
You should be used **Rethrow activity**

---

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [2 Septiembre, 2019 14:01 UTC](https://forum.uipath.com/t/throw-activity-bug/147081/3 "2019-09-02T14:01:41Z")

</div>

Hi @dhennespiritu

Could you show the scenario? Some screenshots would help.

I changed the category until we establish what is wrong here 🙂

---

<div class="post-metadata">

**Author:** ![Palaniyappan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/palaniyappan/32/524095_2.png) [@Palaniyappan](https://forum.uipath.com/u/Palaniyappan)\
**Post date:** [2 Septiembre, 2019 14:35 UTC](https://forum.uipath.com/t/throw-activity-bug/147081/4 "2019-09-02T14:35:57Z")

</div>

Make sure that whole sequence is kept in TRY Block of try catch activity and if the THROW activity throws any error inside sequence then it will be caught by CATCH block of the same try catch activiTy  
Inside the catch block we can use a log message activity and have a sequence that consists of activities to be followed when an exception occurs

Cheers @dhennespiritu

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [8 Noviembre, 2019 00:53 UTC](https://forum.uipath.com/t/throw-activity-bug/147081/5 "2019-11-08T00:53:08Z")

</div>

Cerrado el 8 Noviembre, 2019 00:53 UTC

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