Constantin Fellermann created UNOMI-608:
-------------------------------------------
Summary: Mistakes inside groovy actions application example in
documentation
Key: UNOMI-608
URL: https://issues.apache.org/jira/browse/UNOMI-608
Project: Apache Unomi
Issue Type: Bug
Components: website
Affects Versions: 1.6.0
Reporter: Constantin Fellermann
We noticed serveral mistakes inside the groovy actions application example in
the documentation
([https://unomi.apache.org/manual/1_6_x/index.html#_groovy_actions[):]|https://unomi.apache.org/manual/1_6_x/index.html).]
# In the groovy script:
After actionExecutor = "groovy:helloWorldAction" should be a "," not a ")".
The actionExecutor should be named based on the file-name of the groovy script:
"groovy:hello-world"
# In the rule:
The "type" inside the action should be named as the previously defined
action-id: ""helloWorldGroovyAction"
We solved it with the example on this page:
[https://academy.jahia.com/home/documentation/developer/jexperience/2.x/tutorials/tracking-interests-with-a-custom-groovy-action.html]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)