Can you please look into BIX solution from Pega? Details available below.
Other than this there is no OOTB solution available.
You can also use declare trigger for the classes but it will have a direct impact to your application performance (unless you design to do this via batch nodes)
If you just need the xml data as a blob, you can create trigger / agents to achieve this.
BIX is one option which should try to explore, as this can be used as scheduled to run to get the following as work table is the one which you need to consider
2 If you want to do it in event driven approach then you can use kafka with data flow approach.
@AjitS291089 The current ootb DX apis which bring case/assignment details should be doing the encrypting/decrypting of the blob data in pega tables.
Are you looking for custom encrypting and decrypting for your tables then currently they do not have we need to do it custom.
Another alternative will be to go for db encrypt. Configure → System -->Setting → DB Encryption.