There are two flows Flow1, Flow2. In Flow1 i am able to get some inbound properties and i copy these properties to outbound scope.
println 'Copying inbound properties to session:'
message.inboundPropertyNames.each { prop ->
message.setOutboundProperty(prop, message.getInboundProperty(prop))
println 'Setting ' + prop + ' --> ' + message.getInboundProperty(prop)
}
But i am not able to get these outbound properties in Flow2.