How to associate resourceId to a workflow run?

I noticed there is a
resourceId
column in the
mastra_workflow_snapshot
schema, but I can't find anywhere in the documentation how to set this when starting a workflow run. We want to expose workflows to users in our app and allow them to view results of their previous runs. Is this possible?
Was this page helpful?