I have retrieved some values from the Database. Out of which one field is of type CLOB and that needs to be decoded. I have fetched the value and decoded it successfully. Now I need to set the decoded value to a particular field of the payload. Could someone help me on this.
Asked
Active
Viewed 2,051 times
2 Answers
2
You need to use <set-payload value="#[decodedClob]" />
but if you want to set the payload to a particular field you need know how to do that, I mean which type is your payload.

Ale Sequeira
- 2,039
- 1
- 11
- 19
2
You can use Expression component
to modify payload -
<expression-component doc:name="Expression"><![CDATA[payload.root.myprop = 'newvalue']]></expression-component>

Manik Magar
- 1,403
- 2
- 10
- 20