# Recent changes to formulas-in-javascript behavior - \`formulas.my\_formula()\`is no longer recognized

**URL:** <https://community.weweb.io/t/recent-changes-to-formulas-in-javascript-behavior-formulas-my-formula-is-no-longer-recognized/3200>\
**Category:** Ask us anything\
**Tags:** functions, formulas, binding, optimization\
**Created:** [June 25, 2023, 12:18am UTC](https://community.weweb.io/t/recent-changes-to-formulas-in-javascript-behavior-formulas-my-formula-is-no-longer-recognized/3200 "2023-06-25T00:18:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![justifi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/justifi/32/2846_2.png) [@justifi](https://community.weweb.io/u/justifi)\
**Post date:** [June 25, 2023, 12:18am UTC](https://community.weweb.io/t/recent-changes-to-formulas-in-javascript-behavior-formulas-my-formula-is-no-longer-recognized/3200/1 "2023-06-25T00:18:22Z")

</div>

I rarely use the low-code formula functionality when binding data, or creating a step in a workflow.  
Instead, I use javascript, and I use javascript when I create formulas.

Often, these formulas (they are really functions) contain calls to other formulas, using the `formulas.my_formula_name(...)`.  
Using the `formulas[<random uuid>](...)` is a terrible developer experience and I have a hard time keeping things straight.

This has worked well for the past few months. I recently ran into an issue using `wwLib.executeWorkflow(...)` where the page was being built without importing the relevant workflow, and @aurelie told me that a workaround was to just put a comment in the page with the workflow’s `uuid`

Up until a few days ago, I didn’t have to do this with formulae - it seemed that all of the formulae were imported, by default, even if I called them via `formulas.formula_name(...)`

I have 216 unique formulae, making for thousands of instances (across 35+ pages) where I need to go in and insert a comment with the `formula_uuid` :-[

Is there a more streamlined or intelligent approach than this? Fixing all of them is a nightmare.

Also, if and when changes like this are being rolled out, it would be nice if WeWeb users were notified (in advance when possible, but I’ll settle for a heads up at the time of deployment)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 26, 2023, 3:29pm UTC](https://community.weweb.io/t/recent-changes-to-formulas-in-javascript-behavior-formulas-my-formula-is-no-longer-recognized/3200/2 "2023-06-26T15:29:53Z")

</div>

Mmmm this is a bug. Just opened the ticket so we can sort this out for you. Sorry about this!

---

<div class="post-metadata">

**Author:** ![justifi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/justifi/32/2846_2.png) [@justifi](https://community.weweb.io/u/justifi)\
**Post date:** [July 13, 2023, 7:11pm UTC](https://community.weweb.io/t/recent-changes-to-formulas-in-javascript-behavior-formulas-my-formula-is-no-longer-recognized/3200/3 "2023-07-13T19:11:04Z")

</div>

Thanks for looking into this
