-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Velocity not evaluating some functions as part of workflow subactions #27815
Comments
In summary, we would like to understand in what cases dotCMS is able to evaluate the functions and variables, and in what cases dotCMS is not. I have not been able to achieve behavior consistent with what the customer reported. They are only running the workflows via the content edit modal, but the dotcontent.find viewtool is still only sometimes being evaluated. |
…velocity in a workflow subaction (#27815)
After some internal discussion we have some guidelines regarding how to load categories in velocity code executed in a workflow action:
|
Additional NoteThe |
Closed in favor of: #28352 |
Parent Issue
No response
Problem Statement
When running velocity code as part of a workflow subaction, some functions and properties in the code do not get evaluated into values, but are treated as strings instead.
Steps to Reproduce
Create a content type with a category field
Create a workflow with a step that includes a large message subaction which populates the content based on a vtl
Create a content of the content type
In the content search menu, select the content in question > available workflows > run the workflow step
The large message that is displayed will have some of the content fields and functions unpopulated
Go to the same content, and actually open the content edit modal.
Run the workflow from the content edit modal
The large message that is displayed will have all of the content fields
Acceptance Criteria
Make the workflows consistently populate velocity variable values
dotCMS Version
23.01.12
Proposed Objective
Technical User Experience
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.zendesk.com/agent/tickets/115127
115127_480P.mov
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: