We’ve worked with the municipalities of Genoa and Copenhagen on building permit applications, where deadlines can be paused while waiting for information from the applicant.
Below we outline a graph where the municipality receives a request. Once received they have 60 days to provide an answers regarding the permit.

However, if information is missing the municipality can ask the applicant (proprietary) for more information.
When the applicant sends information to the municipality the clock is set again using the time expression:
P60D – (clockStart – clockStop)
The events, clockStart and clockStop, are computational events. Their value contain the time they were executed:

The expression now evaluates to the datetime the activity was executed.
The simulation below shows how this works.

When the application is received, the deadline is set to 60 days later.

A week passes and then the municipality find out that the applicant needs to send some additional information. The municipality therefore executes the event asks to the proprietary for other data. A week passes awaiting the applicant (proprietary).

The applicant (proprietary) sends the missing information to the municipality.

The deadline is extended by seven days to cover the time spent waiting for the missing information.
