I want to persist profile data in a process, is there a way to do this in add to cache shape ?
Add to cache is only for the temporary storage and It is available only for that particular execution of the process. In order to persist something, two ways we could do: One is to use the Persist Properties concept and the other is to store the data somewhere in the disk/ftp/sftp etc. at the end of your process and get the same file at the start of the process and use it for manipulations.
The only way that I can think to 'persist' profile data is to write it.
I didn't see any mention of persisting data via the document cache shape.
Link is to the online article... Document Cachecomponents
Retrieving data ...