-
I would like to make a module and have the queries accessible in workflows, sort of how we can use SiteSettings.NameOfSetting, is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You shouldn't need a custom module for this as workflows already can support this. You can use the "Set Property Task" with the javascript function You can also use liquid to do the query |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Ok so I found my answer by going into the code and the docs:
Configure template options to add the necessary services and define the name to access it by, the docs was useful in explaining this piece of code