Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to use set values in Map

Avatar

Former Community Member
I have orchestration wherein we need to return multiple values so planning to use map object as the return type but was not able to find any way to put key value pair in map object. Can you please advice me.



Thanks in advance!



Sourabh Lahoti
2 Replies

Avatar

Level 10
You can use the following xPath in a SetValue: /process_data/myMap[@id='keyname'] = /process_data/your_data



Jasmin