Uploaded image for project: 'Apache Unomi'
  1. Apache Unomi
  2. UNOMI-608

Mistakes inside groovy actions application example in documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • unomi-1.6.0
    • None
    • unomi-site

    Description

      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[):]

      1. 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"
      1. 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            CFellermann Constantin Fellermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m