Skip to main content
Known Participant
Sep 30, 2021 8:41 PM UTC
Question

Convert type of dictionary in local variable

Hi!

So i just created a local variable and i want to imput diferent types of data in there, but the default data type from the local variable its type text, then when i a!save items into there i get this error:

Interface Definition: Expression evaluation error [evaluation ID = 6ef8d:9e3c3] : An error occurred while executing a save: Expression evaluation error at function 'append' [line 446]: java.lang.Integer cannot be cast to java.lang.String

I think if i can change the data types of the local variable dictionary I can go arround the error, any help?

    2 replies

    Participating Frequently
    Sep 30, 2021 11:20 PM UTC

    Can you share the code snippet of your interface where you are defining your locals and using the save expression?

    Known Participant
    Sep 30, 2021 11:28 PM UTC

    Sorry theres no need I went with the other approach, am pulling an all nighter so I don't want to waste much time, thanks for the help in the other post though