Skip to main content
Brainy
Aug 7, 2024 1:11 PM UTC
Solved

how to create a constant of type - List of String

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. 

 

    Brainy
    Aug 7, 2024 2:43 PM UTC

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

    test1

    test2

    it resolved the issue

    4 replies

    stefanhelzle0001
    Brainy
    Aug 7, 2024 2:33 PM UTC

    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
    Aug 7, 2024 2:35 PM UTC

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

    The Expression Guru
    kowsalyav7826AuthorAnswer
    Brainy
    Aug 7, 2024 2:43 PM UTC

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

    test1

    test2

    it resolved the issue

    mikes0011
    Brainy
    Aug 7, 2024 2:56 PM UTC

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

    The Expression Guru