Skip to main content
August 7, 2024
Solved

how to create a constant of type - List of String

  • August 7, 2024
  • 4 replies
  • 0 views

hi, 

i have a local variable 

local!test:{"test1","test2","test3"}, - this shows as List of String 

I am trying to create a constant for this , selected as Text ( Array), - This shows as Text

how to convert the constant as List of String , because I am actually validating against another variable that is of type - List of String. 

 

    Best answer by kowsalyav7826

    hi, I altered the constant  values from {"test1","test2"} to 

    test1

    test2

    it resolved the issue

    4 replies

    stefanhelzle0001
    August 7, 2024

    When creating a constant of text(array) this is a list of string.

    Do you have any specific issue that you try to solve?

    mikes0011
    Brainy
    August 7, 2024

    Can you post a screenshot of the value of the constant you've created?

    kowsalyav7826AuthorAnswer
    August 7, 2024

    hi, I altered the constant  values from {"test1","test2"} to 

    test1

    test2

    it resolved the issue

    mikes0011
    Brainy
    August 7, 2024

    Correct, the constant editor describes that this is the way to create a text array constant.