Set process variable to elements

Hello @shweta I’m stuck in creating custom input and output parameters. I’m also expecting same XML that you created. Can you share your demo code with me?