Question
Use vars.xxx in typology rule / script on delivery?
In a workflow I set a variable, e.g. vars.contentId, in a Content Management activity.
In a typology rule (JavaScript) I need this value, but vars.contentId is not available there.
Questions:
- Can a typology rule access
vars.xxxfrom the workflow if that value is not stored on the delivery (i.e. not mapped to a delivery attribute)? - If not, is it possible to add a script field on the delivery Advanced tab that would be able to read
vars.xxx, or do scripts there also run only in the delivery context (novars)?
What is the recommended way to pass a workflow variable into a typology rule?