One thing that imho could be very cool too is a method to list all the running workflows
One thing that imho could be very cool too is a method to list all the running workflows
Serialized RPC arguments or return values are limited to 1MiB, but the size of this value was: 4972045 bytes.
InstanceStatus output property, which only contains an array with the individual step outputs.run method does not, so there's not a "singular" value.run method returns) is also prominently shown on the Workflow dashboard. So I would assume this is an intended feature of workflows.

output property of the Binding InstanceStatus contains the step results, not the workflow output.

But confusingly, the output property of the Binding InstanceStatus contains the step results, not the workflow output.
Serialized RPC arguments or return values are limited to 1MiB, but the size of this value was: 4972045 bytes.InstanceStatusInstanceStatusrunrunimport Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: this.env.CLOUDFLARE_API_TOKEN
});
for await (const instance of client.workflows.instances.list('my-workflow', { account_id: this.env.ACCOUNT_ID, status: "running"})) {
console.log(instance.id);
}