About Workout, Custom Data and reading

BastienneHi, I have a simple Apple Watch App that is able to start and record a run workout using HKWorkoutSession and the new HKWorkoutBuilder in Watch OS 5.


Now I would like to do some addiitonal computations during the run. But there are some things that i don't understand


- Can I store my additional data in HealthKit? My understand is no.

- If I store my additional data how can i later reconnect that data to the HealthKit run? I can't find a way to recognise a run.


From what I understand so far I can read past workouts and filter them to just show the one made with my app. But i can't find a way to reconnect my data with the HealthKit data. Does it mean that for my use case i should store all the data in a local database and don't relay on HealthKit for the storage?


Cheers