Let's understand the design changes to the workflow and how they affect its “sleeping” process instances.
Consider the following example of a process definition. In this example, some process variables and globals are initialized before a sub-workflow step runs. The workflow waits at the “task” step for a specified timeout before completing. The plan is to make design changes and apply them to the instance while it is in “sleeping” status.

Generate and execute a new process instance.

Click the “View Instance” hyperlink to open the process instance. The process instance is currently in “sleeping” status, as shown.

On the process instance page, select “Actions > Reset > To Step” from the menu.

Select the appropriate step from the drop-down list, then click the “Reset to Step” button.

The Reset Instance pop-up window appears for confirmation. Click OK to continue.

On the Process Instance page, note that the process is now in RESET status.

While the instance is in RESET status, return to the process definition and add a few steps to modify the design view, as shown below. Then save the process definition.

Go to the Process Instance tab, then select the “Utils > Update > Design” menu option.

The Update Design pop-up window appears for confirmation. Rerun the waiting steps by clicking the “All,” “Changed,” or “None” buttons. Selecting “All” re-executes all sleeping steps. Choosing “Changed” re-executes only the modified sleeping steps, while “None” skips re-execution.

The process instance design has been updated successfully.
Note: A process workflow can assign tasks, route forms, and generate documents through its process and form instances. Tasks and forms assigned to users can also be attached to files. These files and documents are stored in the application file server or in the DMS file storage folder, whose configuration is defined in the “Start” process step. Therefore, renaming a process definition or updating the design shall also trigger changes to the process and form instances in the DMS file storage folder.

Navigate to Render Instance and observe the change to the instance design with the new steps, as shown below.

To continue executing the process instance, go to the Process Instance page, select it from the list, and click the “Execute > Selected” menu option.

The Execute Instance pop-up window appears for confirmation. Click OK to continue.

The process instance execution resumes after the design changes are pushed to a sleeping process instance.

On the process instance page, select the “View > History” menu option.

The list of events is shown in the table, and the instance reset action is recorded as an event.
