# \[Solved\] Where to find a workflow’s id to use in js via the wwLib.executeWorkflow() function

**URL:** <https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764>\
**Category:** Ask us anything\
**Created:** [May 21, 2023, 12:31pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764 "2023-05-21T12:31:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaredgibb](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jaredgibb](https://community.weweb.io/u/jaredgibb)\
**Post date:** [May 21, 2023, 12:31pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764/1 "2023-05-21T12:31:31Z")

</div>

I am trying to hunt down the workfow id’s but can’t figure this out. can anyone help?

i found variable id’s to set via js with the formula builder. is there a similar way to grab workflow id’s for

wwLib.executeWorkflow(‘ID HERE’)

---

<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:** [May 21, 2023, 1:26pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764/2 "2023-05-21T13:26:31Z")

</div>

It’s explained in this post

> [@Loop until condition is met](https://community.weweb.io/t/loop-until-condition-is-met/1564/5):
>
> Its possible to do a loopUntil workflow, but it requires a bit of javascript Create a variable to handle your loop timeout reference (I usually call them timeout with a prefix to precise the logic/functonality of it or put it in a folder) Create a global workflow: First action must cancel the previous loop (i will come back to that later). We use a customjs action with the following code clearTimeout(variables.timeout) (with variables.timeout being the variable you created before). This is…

---

<div class="post-metadata">

**Author:** ![jaredgibb](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jaredgibb](https://community.weweb.io/u/jaredgibb)\
**Post date:** [May 21, 2023, 1:43pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764/3 "2023-05-21T13:43:10Z")

</div>

thank you!

Step 1: Enter the Dev Editor  
Step 2: Open the relevant **Global** workflow  
Step 3: Copy the UID of the workflow

 ![Screen Shot 2023-05-21 at 9.41.48 AM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/d/d66ab962a8d25e06833946ac3bc325df9f3512c4.png)

---

<div class="post-metadata">

**Author:** ![raydeck](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raydeck/32/384_2.png) [@raydeck](https://community.weweb.io/u/raydeck)\
**Post date:** [May 22, 2023, 4:15pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764/4 "2023-05-22T16:15:16Z")

</div>

If you click “show dev informations” at the bottom of the dev menu (the one with the **\>\_** ), you can see those UIDs without having to use the special editor!

---

<div class="post-metadata">

**Author:** ![jaredgibb](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jaredgibb](https://community.weweb.io/u/jaredgibb)\
**Post date:** [May 22, 2023, 6:13pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764/5 "2023-05-22T18:13:49Z")

</div>

> [@raydeck](#):
>
> of the dev menu (the one w

🤯

thanks, dude!

---

<div class="post-metadata">

**Author:** ![juljuc](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@juljuc](https://community.weweb.io/u/juljuc)\
**Post date:** [December 15, 2023, 6:08pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764/6 "2023-12-15T18:08:49Z")

</div>

Hey there,

I’m trying to implement your solution with the new interface but impossible to find workflow ID for “Trigger App workflows” (which i assumed is the new global workflows), do you have any idea how to circumvent that?

Thanks  
Julien

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [December 17, 2023, 4:57pm UTC](https://community.weweb.io/t/solved-where-to-find-a-workflow-s-id-to-use-in-js-via-the-wwlib-executeworkflow-function/2764/7 "2023-12-17T16:57:35Z")

</div>

You need to find the dev menu

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c7b3e300fdb170c5cde86ec99434c2dcbc4a72cc.png)

And activate the dev information

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/b7ed54181938361b0ee11e440f2a0d05bba7e741.png)
