-
Is there a way I can assign "global" variables in a task query that I can then reuse inside each expression? My main use case for this would be for caching: say I have some fairly costly function that uses Another use case example, I want to define a global map variable that I can read and write to inside filter expression |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
No there is nothing built in. But ca you give an example of a calculation that you feel is costly? Normally the filter cost is negligible compared to task results rendering time. |
Beta Was this translation helpful? Give feedback.
-
Closing as no reply.... |
Beta Was this translation helpful? Give feedback.
-
Finally had the chance to take a look. The pattern you provided in #2392 (comment) works since we can compute things prior to constructing the (My use case was quite similar the use case in that discussion, except I was looking to look for certain links recursively) |
Beta Was this translation helpful? Give feedback.
Finally had the chance to take a look. The pattern you provided in #2392 (comment) works since we can compute things prior to constructing the
tasksQuery
. It can further be extended with CustomJS, as you mentioned. Thanks!(My use case was quite similar the use case in that discussion, except I was looking to look for certain links recursively)