Skip to main content
neeleshj2272
September 6, 2023
Question

Cast to Map

  • September 6, 2023
  • 7 replies
  • 0 views

I have a process variable of map type and i am getting data like below array.
How can i cast this to map.
{id=1, Name=,class=12, sub=, }

7 replies

mikes0011
Brainy
September 6, 2023

Have you tried just saving it into the map type PV?  What happens?

The Expression Guru
neeleshj2272
September 6, 2023

[mention:b45a4f6a20b14a008e4e0ec732a8bf98:e9ed411860ed4f2ba0265705b8793d05]Yes I tried no luck. I am also trying in expression rule to cast as map however getting syntax error because of no value for Name and Sub. Somehow if it is update to null then it can work.

mikes0011
Brainy
September 6, 2023

What are you doing in your expression rule to try and cast?  Any snippet / screenshot?

The Expression Guru