You can set a date on which the Process will be automatically closed.
Automatically closure of the Process
In the Workflow settings, you can select "Automatic process closure after the last action". You can choose one of the predefined options or indicate your own deadline (in hours).
What does it mean?
The Process will be closed after the indicated period, counting from the release of the last Action in the process.
In the process list, the Process will receive a status of ‘Completed’, but all Actions included in the process will retain their original status. This means that if an Action has not been completed, it will remain so, but the Process will be closed (it will not be possible to make changes to it, and any unfinished Actions will be removed from User Portals).