In XML, a milestone is defined as follows:

    In this case, the milestone will complete as soon as as the human task completes.

    A milestone cannot have exit criteria.

    A milestone without entry criteria is fulfilled as soon as the stage it is contained in becomes active. For example, a milestone item that is defined on the case definition level is completed as soon as the case is instantiated. It is therefore advisable to define at least one entry criterion for a milestone plan item.

    In order to check whether a milestone has occurred, the history service can be used. The following checks the state of a milestone instance:

    Camunda Extensions