Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7778

[DMN Designer] context functions not working in kie sandbox

XMLWordPrintable

    • False
    • None
    • False
    • Fixed with KOGITO-7898
    • Hide

      Create literal expression like below:
      context put({x:1}, "y", 2)

      Show
      Create literal expression like below: context put({x:1}, "y", 2)
    • ---
    • ---

      "context put" expression is not supported in KIE Sandbox (sandbox.kie.org). Getting the following error in the editor:

      ERR_COMPILING_FEEL: Error compiling FEEL expression 'context put({x:1}, "y", 2)': syntax error near 'put'
       
      The expression above is listed as an example in Kogito documentation and works fine in VS Code:

      https://docs.jboss.org/kogito/release/latest/html_single/#_context_functions

              yamer@redhat.com Yeser Amer
              andfedotov Andriy Fedotov (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: