Hi,
In my expression rule , I want the return type to be Dictionary but I am receiving' list of number' as return type.
How can I convert list of number to dictionary?
any insights will be helpful.
Thanks
Rohini
Discussion posts and replies are publicly visible
In order to covert the list of numbers to dictionary. First we have to pass the list of numbers to a dictionary syntax like {data:{values}}.
You have to decide which index you want to use for dictionary formation.
with( /*Sample Numbers for test*/ local!numbers: enumerate( 10 ) + 1, /*Coverting numbers to a dictionary*/ local!numbersDisctionary: { ids: local!numbers }, local!numbersDisctionary )