index Function on Map is not behaving correct

Hi All,

I have an Map operator which contains key value pairs as 


i saved it in a process variable in a script task and then when i tried doing the value as 

pv!map.eventId it is saving the value as 6,

if i do index(pv!map,"eventId",999) it is saving as 999 instead of 6.

Not sure what is the issue. Any one faced such kind of issue in process model.

Please Note : I tried this in Process model not in rule. In rule it is working fine.

  Discussion posts and replies are publicly visible