List cron jobs from java api or workflows grpc api

I would like to be able to list all of the workflows (not workflow executions) that I have stored in temporal. I haven’t been able to figure out where in the java or workflow service grpc api where I can query this info. Does anyone know how to pull it?

Context: I want to have multiple workflows stored in temporal as crons. In order to go with this approach, I need to be able to list out the stored cron workflows.

I don’t understand the question. What does it mean to list all workflows and not workflow executions? Temporal has concepts of workflow run and workflow execution. There is also a concept of a workflow type.

Cron currently is implemented as a workflow execution that creates a new run for each iteration.

I was confused on nomenclature. Thanks.

1 Like