Setting Deadline for a process

Hello,
I want to define a process that can be started during a specific period only.For example , i want to define a process that can only be started in month july for example.

How can i do that using camunda ?
Thank you

Hello @abdallah,

there are at least three possile ways:

  1. Handle it outside camunda and deploy the process on July 1 and delete the deployment on August 1st.
  2. Model it explicitly with a gateway that lead dirctly to an end event if the startdate is out of the expected intervall.
  3. Use a process start listener and terminate the process instance by throwing a BpmnError without catching it.

Hope this helps,

Ingo

You could use something like this:

And modify the logic to check the current date to see if it is within your accepted date range.