Suspend

Purpose of this building block

Save the current state to resume later on but only makes sense if you have a number of Resume building block in your Ultradox file:

The suspend block will save all variables and will create a number of links for each resume block in your flow. You can then use these link in your templates to continue the execution at the matching resume block once the user clicks on the link.

0 variables
1 variables
§{resumeStartOver}

Possible use cases

  • Approval flows with dedicated approve and deny link
  • Send email with an attached document for signing

Configuration

No configuration required

 Reload

Click on the reload button if you have added or removed resume blocks to your flow. The suspend block will then update the resume links for each of the resume block that have been found.

Useful combinations

Purchase Order Approval (simplified)

This example shows a simplified version of the Purchase Order App. This App demonstrates how to create an approval flow. Depending on the user actions different parts of the flow are executed and distinct outputs created.

The email that will be sent to the manager contains two action buttons to approve or deny the request. He will also find a link to create a PDF document containing all approved orders.

Initially a new order request is received. A form is used to collect the input and to store it in a purchase order sheet.

Once the inquiry for a new item is received the flow is suspended and an approval request is sent to the respective manager. Up until the manager responds the flow is stopped.

As the flow contains two different Resume building block the Suspend building block creates a dedicated link for each of these entry points.

These links can then be used in the outgoing email to create links or buttons resume the flow at the related position.

FORM
requesterName
requesterEmail
managerName
managerEmail
item
resumeApprove
resumeOrder
managerName
APPROVAL EMAIL
requesterName
item
resumeApprove
resumeOrder

In case the manager clicks on either the approve or denied button the flow is resumed at the "Resume approval" building block.

button
button

The value of the button variable will either be Approve or Deny . In case the request has been denied the subsequent blocks will be executed (sending a denial email to the requester).

The flow stops once the email is sent and a denial confirmation document is displayed to the manager.

approved
PO item update
requesterName
DENIED EMAIL
item

Resuming at the "Resume approval" building block with an approved request the skipping condition is true, the referring building blocks are skipped and no denial but a confirmation email is sent. Once the confirmation is sent the manager is redirected to a web-page (e.g. a worklist overview).

approved
PO item update
requesterName
ACCEPTED EMAIL
item
www.yourworklist.com
resumeUrlOrder
PO worksheet
fileId

Once a number of orders are approved, the manage may decide to create a PDF containing all the approved orders. In order to start the order creation the second link within the approval email is selected. The flow is then resumed and the "Resume Order creation" building block and the order creation steps of the flow are executed.

Copy the Purchase Order app to see this building block in action

Further information

The suspend block does not stop the execution. This will allow you to use the generated links in subsequent template building blocks or in your emails. Use the stop block after sending out the links if you want to stop the execution.

Questions and Feedback

If you have any comments on this guide, feel free to add them right to the Google document that we are using to create this site.

If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.

Last Updated:

Share on Google+Share on FacebookShare on TwitterShare on LinkedIn