# How to retreive workflow by id for debug

**URL:** <https://community.weweb.io/t/how-to-retreive-workflow-by-id-for-debug/6605>\
**Category:** Developer corner\
**Created:** [January 25, 2024, 2:00pm UTC](https://community.weweb.io/t/how-to-retreive-workflow-by-id-for-debug/6605 "2024-01-25T14:00:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alextr](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Alextr](https://community.weweb.io/u/Alextr)\
**Post date:** [January 25, 2024, 2:00pm UTC](https://community.weweb.io/t/how-to-retreive-workflow-by-id-for-debug/6605/1 "2024-01-25T14:00:02Z")

</div>

I get error in console giving me some workflow id, that’s good but how can I find it in weweb to fix ?

![Capture d’écran 2024-01-25 à 08.59.15](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/97c059680c828d5e51f532d290b3d817325e5327.png)

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [January 25, 2024, 2:32pm UTC](https://community.weweb.io/t/how-to-retreive-workflow-by-id-for-debug/6605/2 "2024-01-25T14:32:37Z")

</div>

If you go in the top menu More \> Development \> Show dev information, you will be able to see the workflow id at the top right.  
 ![CleanShot 2024-01-25 at 15.29.33](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/71676cd17c1a124ee51771f569e28439d8fb570d.png)

---

<div class="post-metadata">

**Author:** ![Alextr](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Alextr](https://community.weweb.io/u/Alextr)\
**Post date:** [January 25, 2024, 3:14pm UTC](https://community.weweb.io/t/how-to-retreive-workflow-by-id-for-debug/6605/3 "2024-01-25T15:14:36Z")

</div>

thanks you, this may be a solution, but I have hundreds of workflows, so I’m more looking for a search option if it exists

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [January 25, 2024, 4:28pm UTC](https://community.weweb.io/t/how-to-retreive-workflow-by-id-for-debug/6605/4 "2024-01-25T16:28:19Z")

</div>

A hacky way can be to use this code in the console: `Object.entries(wwLib.getEditorStore()._state.data.data.globalWorkflows).find(([k,v])=>(k==='youruid'))?.[1]?.name`, but I’m sure there should be another way
