Is there a way to store a local variable that the workflow can access the next time it runs?
The use case is that I make a request to an API with the url parameter updated_at to receive records that were created/update after the given date. Each workflow would have to store an updated_at variable for the next the workflow runs.
In v1 workflows you can use $checkpoint to store & retrieve data from prior runs.
In v2 workflows, workflow steps have become components, so the same $.service.db property is available to inject into workflow steps for retrieving and storing arbitrary data.