Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. There are 2 ways to do the work around:

    1. Option1: def varArray0 = """["${var0}"]"""

      1. Uncheck Quote Value

      2. var0 is the input value, and varArray0 is the output value.

      3. We are “hardcoding” the brackets and quotes around the input value.

      4. This is acceptable if there is only 1 source/input value

      5. /image

        Image Added
    2. Option2:
      def varArray1 = []
      var1 = '"'+var1+'"'
      varArray1.add(var1.toString())

      1. Uncheck Quote Value

      2. var1 is the input value, and varArray1 is the output value

      3. We define varArray1 as an array/list

      4. We are “hardcoding” the quotes around the input value.

      5. This is useful if the input is a looping source field.

      6. /image

        Image Added

 

Info

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@83081b8b
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel in ( "array" , "json" ) and type = "page" and space = "JTHELP"
labelsjson array

...