System Design for Segregating Application Data and Temporal Data

Hi All,

I am trying to implement a use case for Customer Record Creation which involves creating footprint in multiple systems via defined workflow. I am planning to use Temporal to carry out durable execution. However there is a challenge of Data Residency. The data involves PII Information and for certain jurisdiction the data is not allowed to be taken to GCP (even encrypted data).

How do I design the solution factoring data residency in such a way that the application data remains on-premise and temporal workflow/activity data can reside on GCP.

Please help.