How to start or create new instance for the timer start event

Hi Team,

I have one BPMN file which starts with a timer start event. so I want to run this through java client, could you please help me out.

here is BPMN file link
https://drive.google.com/file/d/1hF6wlBYGbPsjNPV1jqx4WAKlx32qfHmM/view?usp=sharing

I deployed the BPMN file in Zeebe. but I don’t know how to start!!!

Hi @regojoyson,

when a workflow with a timer start event is deployed then the broker create the instances according to the timer definition.

In the workflow, the timer start event is defined with a cycle R/P10M. That means it will create a new instance every 10 months (as long as this workflow exists).

See also https://docs.zeebe.io/bpmn-workflows/timer-events/timer-events.html#timer-start-events

Best regards,
Philipp

1 Like

Thanks for the reply.

If I want cancel this instance /workflow permanently, how should i do that…?

Workflow instances can be cancel by cancel command.

Currently, a workflow can not be undeployed (see https://github.com/zeebe-io/zeebe/issues/2908). But you can deploy a new version of the workflow (with the same BPMN process id). While deploying the new version, the timer subscription of the previous version is canceled.