Hi guys can anyone please guide me how can I generate a guid for sending it in header before calling an endpoint. I am working in wso2 MI 7.2 Is the below line correct ? or what can be changed ?
<property name="X-Correlation-ConversationID" expression="uuid()" scope="transport" type="STRING"/>
Incase it should be done some other way please do let me know.
Thanks
Maybe you can try use
get-property('MessageID')
exprssion.or extract only UUID using xpath substring function: