Live Forms v7.0 is no longer supported. Click here for information about upgrading to our latest GA Release.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Approval workflows are everyday actions that businesses perform on a routine basis. This tutorial will show how easy it is to create an Approval Workflow using . We will start with a simple workflow and add to it for each example discussed to demonstrate some design patterns and different features. The final workflow will be an example of a services Purchase Order workflow. We will create:

  • A screenflow - allows you to collect a lot of information in a series of small steps
  • A workflow where one of the steps is performed by someone outside the company (anonymous)
  • An Approval workflow where one of the steps is only routed for additional approvals if certain conditions are met.

If you need basic help using the Flow designer, please refer to the Getting Started with Flows guide, and then return here.

 

What are we going to build?

Many companies offer software services to their new and existing clients. The final workflow in this tutorial will be a Purchase Order workflow for services that follows this business scenario:

  • A sales person accesses the company's Purchase Order form, fills in the customer's email address and other required information, signs it and clicks Continue.
  •  sends a customized email to the customer that contains a link to the PO.  
  • The customer clicks on the link, reviews the Purchase Order, approves and signs it or sends it back to the company for corrections
  • The workflow is routed back to the sales person.
  • The sales person reviews the PO, and sends it to his manager for approval. The manager receives an email.
  • The manager clicks on the link in the notification email, logs onto to review the PO via the Task List. He approves or sends it back to the sales person for corrections.
  • If approved by the manager and the total amount of the PO is greater than $10,000.00, the workflow is routed to the VP for final approval.

 

On This Page:

What You will need:

You need either a Live Forms Online account -- signup for a 30 day trial if you don't already have an account. Or use a working Live Forms In-house software installation. If you are using In-house software you will also need to create a tenant, add a designer user to that tenant and configure email

Example Applications

There are 2  applications that can be downloaded to help with this tutorial:

In either case, you must upload the application(s) to your  user account. Follow these steps:

  1. Log into your tenant as the designer user.
  2. Click the Upload icon at the top of the Application Home Page. 
  3. Browse for the downloaded application zipfile (PurchaseOrderCompleted_app.zip or PurchaseOrder_app.zip).
  4. Do not check the Replace or Copy checkboxes.
  5. Click the Upload button.

The application is uploaded and immediately appears in your list of applications. 

Example 1 - Purchase Order workflow

Let's begin by creating a simple screenflow consisting of the Client and Services forms that the sales person will use to create the Purchase Order. A screenflow is a type of workflow where all the steps are filled in by the same  user. The Client form contains a read-only information section (first name, last name, and email) that will be automatically populated with the sales person's information using a business rule and a second section to collect information about the customer requesting the services. The Services form contains fields to describe the requested services and business rules to calculate the cost. 

We will add a form action to customize the message displayed to the sales person when the workflow is completed. 

Create the Purchase Order workflow

To create this workflow, follow these instructions:

  1. Click the Edit icon for the Purchase Order application.
  2. Click the Flows tab to open the Flows home page.
  3. Click the New icon to create a new flow. Click on the toolbar to display the flow properties panel.  Type "Example 1 - PO Screenflow" in the Flow Name field.
  4. If the Palette is contracted, click in the header to expand it. Drag the Client form from the palette and drop it on the flow designer canvas. This form will be the first step in the flow.

  5. Drag the Services form from the palette and drop it below the Client form. The Services form will be the second step in the flow.

  6. Click on the what does the user see icon in the tool bar to customize the message the sales person will see when the flow is completed: 

    1. Click on the Display Message wizard. Copy the message below into the Message box then click Finish. {ClientName} and {ClientCompany} are examples of templates. Templates are specified by surrounding the name of a control in your form with curly braces.  will use the values entered into the Client Name and Client Company fields at runtime.  

      The Purchase Order for {ClientName} at {ClientCompany} is complete.

       

  7. At this point, your workflow should look like this:

  8. Click the save and exit icon to save your work. 

    If you want to see the details of the forms, click on a step in the flow designer then click the Edit icon on that step. The form will display in the forms designer. You can view the business rules by clicking on the  Rules icon.

Test Example 1:

  • Click the Test icon for your workflow. Note the Creation Date, sales person's first name, last name and email address are automatically populated. 
  • Fill in the customer contact name, email address, company name and phone number. Empty controls displaying a yellowish background are required. Required controls must contain valid data in order to continue to the next step and submit the form. 
  • Click the Continue button to proceed to the next step.
  • Fill in the Client Services Order.  Notice the Amount and Total Amount columns calculate the cost. These calculations are handled by business rules already setup in the PO form.
  • Fill in at least two rows of the Client Services table. Delete a row - notice the amount previously calculated for this row is automatically subtracted from the Subtotal and the Total.
  • Sign the form as the sales person (designer user) - you can use your mouse or type the name into the Type Name field.
  • Verify that the Date Signed field is populated with the current date.
  • Click the Finish button. You will see your customized display message.
  • If you want to see how the workflow will look on an iPad or an iPhone, close the window, click the Test icon again then click the Tablet or Smart phone buttons at the top of the test screen.


Example 2  - Send the PO for Signature

This workflow sends the Purchase Order electronically to the customer for their review and signature.

  • The customer's email address is entered by the sales person on the first step.
  • An email is sent to the customer with a link to the PO.
  • The customer clicks the link to review the PO, approves and signs it or sends it back to the sales person for corrections.
  • sends a copy of the signed PDF to the sales person by email. 

Note, the customer does not have to be logged into a  tenant (anonymous) to perform the Approval step. 

We will create a new workflow that can be modified for subsequent examples in this tutorial. The workflow will have:

  • An anonymous Email for the step that the customer signs.

  • Customized messages for Task notification emails to the customer and sales person.

  • A document action to send an email to the sales person and the client. A signed PO is attached to the email when the workflow is completed.

You will need at least one valid email address to test this workflow.  

Create the Purchase Order workflow:

We will replace the Client and Services steps with a single step using a form named PO. The PO form contains these additions:

  • an Agreement section that the customer can sign
  • a business rule to show and hide the Agreement section based on the step of the workflow being executed
  • a business rule to prefill the DateSigned field when the customer signs
  • a business rule to make the signature field required if the customer checks "yes" on the approval control

Follow these instructions:

  1. Click the Edit icon for the Purchase Order application.
  2. Click the Flows tab to open the Flows Home Page.
  3. Click the New icon to create a new workflow. Click on the toolbar to display the workflow properties panel.  Type "Example 2 - Send the PO for Signature" in the Flow Name property on the left.
  4. Drag the PO form from the Palette and drop it on the flow designer canvas. The PO form will be the first step in the workflow. 

    1. Click on the PO step. Make sure the printable property is checked on this step. We are creating our flow using the linked steps design pattern. Checking the printable property on the original form guarantees that the original form and any linked steps in the flow are included in the pdf.
    2. Type "Send to client" in the Continue Label property.
    3.  Click the Link icon to create a copy of this step. A linked copy of the PO form (dashed border), is added to the flow.
  5. Click on the linked PO step:
    1. Change the name to "Client Approval" by typing it in the Name field in the Properties panel.
    2. Type "Send to frevvo, Inc" into the Continue label property to change the text to something more meaningful.

    3. Click the Setup Approval/Rejection link, uncheck the Reject to here and Reject from here checkboxes. The Reject button feature will be discussed in a later example.
  6. Drag the Email from the Palette and drop it in between the PO and Client Approval steps. 
  7. Click on the Email step. 
    1. Enter the template {ClientEmail} into the Email address property. ClientEmail is the field in the Client form where the sales person enters the email address of the customer. sends  the PO to the email address entered in that field. This is an example of a template. Note the control name is encased in curly braces.

    2. Enter  "Purchase Order Sent to {ClientEmail} for Signature" in the Pending Message property. This will be the message that the sales person sees after they click the Continue button. 

    3. Click on the Setup Task Notification Link. Type the subject for the email - "Purchase Order from frevvo". Copy the text below into the message field to replace the existing message. This is the email the customer receives.

    {ClientName},
    <br/><br/>
    Please review and sign this Purchase Order from frevvo Inc. by clicking on <a href="{task.notify.url}">this link</a>.
    <br/><br/>
    Thank You.
  8. Click Finish.
  9. Configure the email the sales person receives:

    1. Click the what happens to my data icon on the toolbar.
    2. Click on the Email data to a specified address wizard. 
    3. Enter {SalesEmail} and {ClientEmail} in the To: field. Separate them with a comma. Ex: {SalesEmail},{ClientEmail}

    4. Select PDF from the Send Snapshot dropdown. This adds a pdf to the email after the customer approves it or requests corrections.
    5. Uncheck the Send Data checkbox.
    6. Click Next
    7. Enter "Purchase Order for {ClientName} at {ClientCompany}" in the subject field.
    8. Copy the text below into the message field to replace the existing message.

      The Purchase Order from {ClientName} at {ClientCompany} is attached. Please review. 
      <br/>
      Thank You.
    9. Click the Finish button.
  10. Customize the message the client will see when they click the Send to frevvo, Inc button.
    1. Click on the what happens to my data icon in the tool bar. 

    2. Click on the Display Message wizard. Enter "The Purchase Order for {ClientName} at {ClientCompany} was saved.".

    3. Click Finish.
  11. Change the visibility of the workflow to public so the customer (anonymous user) can access it. To do this: 
    1. Click the lock icon on the toolbar. This will pop up a window where the designer can specify permissions.

    2. Change the Visibility from “Public in Tenant” to “Public” for the Permission “Who can use the flow”.

    3. Click Finish.
  12. At this point, your workflow should look like this:  
                   
  13. Click the save and exit icon to save your work. 

If you want to see the details of the forms, click on a step in the flow then click the Edit icon on that step. The form will display in the forms designer. You can view the business rules by clicking on the  Rules icon.

Test Example 2:

  • Click the Test icon for your workflow. Click the blue right arrow to expand the Instructions section. This section is only visible to internal employees of the company.
  • Fill in the the PO.
  • Click the Continue button to proceed to the next step.
  • Fill in the Client Services Order, click the Sign this section button to sign the form as the sales person. 
  • Click the Send to Client button. You will see your customized pending message. 

  • Log out of

  •  sends a notification email with your customized subject/message to the email address specified in the Primary Contact Email Address field on the first step. 

  • Open the customer's email with a "Purchase Order from frevvo" subject. Click on the link provided.

  • The customer will see the completed PO and a section where they can sign to approve the PO or send it back if corrections are needed.

  • Approve the PO for now. We will cover rejecting the PO in a later step. Sign as the customer. Verify the Date Signed field is populated with the current date after signing.

  • Click the Send to frevvo, Inc button. You will see your customized message.  

  • The sales person and the client receive an email "Purchase Order for {ClientName} at {ClientCompany}" at the subject.

  • Open one of the emails and click on the pdf. Verify the Client Information, Client Services details and the Agreement section with the customer's signature are included.

If you want to see the details of the forms, click on a step in the flow then click the  Edit icon on that step. The form will display in the forms designer. You can view the business rules by clicking on the  Rules icon.

Example 3 - PO for Sales Review

Now that we have a workflow that sends the PO to the customer for approval, we can quickly modify it to send the Approved PO back to the sales person after signing. The sales person receives an email with a link to their task list. The  Task List is like an email inbox where users can find all the tasks requiring their attention. In this example, the sales person will access their Task List, review the signed PO and complete the workflow.  
The PO form has a hidden field that is populated with the  user id of the sales person by a business rule. We will add a step to the workflow that uses the information in this field to route the workflow back to the sales person. We can also customize the Task List notification email that the sales person receives.

Modify the workflow

If you want to keep the Example 2 workflow intact, download it by clicking the  download icon on the Flows Home page then upload it to make a copy. Make these changes to the copy. Or you can simply edit Example 2 to create this workflow.

  1. Click the Edit icon for the workflow you want to modify. Change the name to "Example 3 - PO for Sales Review"

  2. Add the Sales Review step:

    1. Click on the PO form, and then click the Link icon.
    2. A linked copy of the PO form, bordered by dashed lines, will be added to the flow. Drag this step below the Client Approval step.
    3. Click on the linked PO step, change the name to "Sales Review" by typing it in the Name field on the Properties panel.
    4. Type {SalesID} in the User property on the Property panel.
    5. Type "Thank you! Your PO has been sent back to frevvo Inc." in the Pending Message property. This is the message the client will see when they click the Send to frevvo, Inc button on the previous step.
    6. Type Client: {ClientCompany} in the Task Info property. The Task Info helps the sales person identify the task on the Task List.
    7. To customize the task notification email the sales person receives: 

      1. Click on the Setup Task Notification Email link.
      2. Type "Review PO from {ClientName}" in the subject field. You can select the control name from the dropdown to the left of the subject field. Leave the default message. 
      3. Click Finish. 

  3. Click on the Client Approval step and uncheck the Printable property.
  4. At this point, your workflow should look like this:
  5. Click the save/exit icon to save your changes. 

Test Example 3:

  • Click the Test icon.
  • Fill in the PO and sign as the sales person. Click the Send to client button.
  • Log out of .
  • Check the email account for the customer. Access the notification email, click on the link provided.
  • Approve the PO. Sign as the customer. 
  • Click the Send to frevvo, Inc button. You will see your customized pending message. 
  • Check the sales person's email account. Click the link in the notification email.
  • Log into  as the designer.
  • The designer's Task List displays. Notice the task came from an anonymous user and where the Task Info displays on the Task List.
  • Click the Perform icon.
  • Review the PO and click the Finish button.
  • Check the email account for the sales person. Verify that the pdf shows the Client and Sales information, the Client Service Order details and the Signed Agreement section.  

Example 4 - PO for Manager Approval

In this example, we will add another linked step to route the workflow to the sales person's manager for approval. We will need to add a Manager Approval section to our PO step then update a business rule to hide this section until the Manager Approval step is performed. A customized Task Notification email will alert the manager that there is a task requiring his attention. 
We will need to create a new user (manager) in  and edit the designer user to specify the manager as the person the designer user reports to. Then we can route the workflow to the manager using {subject.report.to}. This is an example of built-in data that  makes available for every transaction.

Create/Modify Users:

Users can also only be created by the tenant administrator.  The steps are: 

  1. Log on to  as the tenant admin.

  2. Click Manage Users on the Manage tenant page

  3. Click the  add new user icon which will bring up the Add New User form

  4. Enter "jerry" as the User Name then enter all the required information - leave the Reports To and Roles fields empty. Click submit

  5. You should be back on the user list - click the edit user icon for the designer user.

  6. Select jerry from the Reports To dropdown. Click Submit.

Modify the PO step:

Log back in as the designer user. Make a copy (download/upload) of Example 3 and name the new flow "Example 4 - PO for Manager Approval".
Add the Manager Approval section: 
1. Click the icon to edit the PO step.
2. Drop a Section control to the bottom of the form
    1. Click on the section label and change it  to "Manager Approval". The control name will automatically become ManagerApproval.

    2. Uncheck the Visible checkbox

    3. Click the Security tab

    4. Set the Signature property to "Text/Signature Image"

    5. Check the Must Sign property

    6. Drop a textarea control inside the section 

    7. Name it "Manager Comments"

Modify the Show/Hide Section Rule:
  1. Click the  rules icon on the toolbar. We will edit an existing rule so that the Manager Approval section is hidden until we get to the Manager step. 

  2. Click the  icon to edit the rule "Show/Hide Sections" .

  3. Add  ManagerApproval.visible = true; into the else if (an === "Manager Approval") section. Click the arrow to see how the rule should look with this line added.

     Click here to expand...
     if (form.load) {
         var an = _data.getParameter('flow.activity.name');
    
         if (an === "Client Approval") {
           Agreement.visible = true;
           ClientApproval.required = true;
           ClientApproval.value = null; // Clear for rejection case
           ClientSignature.value=null; //Clear for rejection case
          Instructions.visible = false; // Instructions are for internal people
        } else if (an === "Sales Review") {
          Agreement.visible = true;
        } else if (an === "Manager Approval") {
          Agreement.visible = true;
          ManagerApproval.visible = true;
        } else if (an === "VP Approval") {
          Agreement.visible = true;
        }
    }
  4. Click save/exit icon to save the changes to the PO form.  

Modify the workflow:

  1. Create a new linked step from the PO step.

    1. Drag it to the end of the flow.

    2. Type  "Manager Approval" in the Name property.

    3. Type "{subject.reports.to}" in the User property. 

    4. Type "PO sent for your Manager's Approval"  in the Pending Message property. 

    5. Type "Client:  {ClientCompany}" in the Task Info property.

    6. To customize the task notification email the manager receives, click the  Setup Task Notification link.

      1. Type "Approval needed for PO from {ClientCompany}" in the Subject field. Leave the default message. Click Finish.
  2. Click to select the Sales Review step.At this point, your workflow should look like this:

      1. Type "Send to Manager" in the Continue Label property. 

     
  3. Click the save/exit icon to save your changes. 

Test Example 4:

  • Click the Test icon. Fill in the PO and sign as the sales person. Click the Send to client button.
  • Log out of 
  • Check the email account for the customer. Access the email with the subject "Purchase Order from frevvo", click the link provided.
  • Approve and sign the PO as the customer. 
  • Click the Send to frevvo, Inc button. 
  • Check the sales person's email account. Find the notification email with the subject "Review PO from {ClientName}" and click the link.
  • Log in as the designer, click the Perform icon, review the PO then click Send to Manager. Logout.
  • Check the manager's email for the notification email with a subject "Approval needed for PO from {ClientCompany}". Click the link in the email.
  • Log in as jerry. Jerry's Task List displays. Notice that this task comes from the designer user. 
  • Click the Perform icon. Note the Manager Approval section displays as specified by the Show/Hide rule.
  • Add a comment and sign as the manager. Click Finish.
  • The sales person and the client receive emails with the signed/approved pdf. Verify that the pdf shows the Client/Sales information, the Client Service Order details, the Signed Agreement and Manager Approval sections.

Example 5 - PO for VP Approval

In this example, we will add another linked step to route the workflow to the VP for approval. We will need to add a VP Approval section to our PO step then update a business rule to hide this section until the VP Approval step is performed. A customized Task Notification email will alert the VP that there is a task requiring his attention. 
We will need to create a new role (VP) and a new user with the VP role in . Then we can route the workflow to any user that has the role of VP if approved by the manager. This is an example of routing a workflow using a  role. 

Create the VP role:

Roles can only be created by the tenant administrator.  The steps are:

  1. Login to  as the tenant admin. 

  2. Click the Manage Roles link.

  3. Click the  plus icon.

  4. Type "VP" into the role name and click Submit

Create a user with the role of VP:

  1. Click Manage Users on the Manage tenant page

  2. Click the  add new user icon which will bring up the Add New User form

  3. Enter "ed" as the User Name then enter all the required information.

  4. Leave the Reports To field empty

  5. Select the VP role from the role dropdown. Click Submit.

  6. You should be back on the user list. Logoff.

Modify the PO step:

Log in as the designer user. Make a copy (download/upload) of Example 4 and name the new flow "Example 5 - PO for VP Approval".
Add the VP section: 
1. Click the  icon to edit the PO step.
2. Drop a Section control to the bottom of the form
    1. Click on the section label and change it to "VP Approval". The control name will automatically become VPApproval.
    2. Uncheck the Visible checkbox
    3. Click the Security tab
    4. Set the Signature property to "Text/Signature Image"
    5. Check the Must Sign property
    6. Drop a textarea control inside the section 
    7. Name it "VP Comments"
Modify the Show/Hide Section Rule:
  1. Click the rules icon on the toolbar. We will edit an existing rule so that the VP Approval section is hidden until we get to the VP step. 

  2. Click the icon to edit the rule "Show/Hide Sections"

  3. Add  these lines into the else if (an === "VP Approval") section:

         ManagerApproval.visible = true;

         VPApproval.visible = true; 

  4. Click the arrow to see how the rule should look with these lines added.

     Click here to expand...
     if (form.load) {
      var an = _data.getParameter('flow.activity.name');
      if (an === "Client Approval") {
        Agreement.visible = true;
        ClientApproval.required = true;
        ClientApproval.value = null; // Clear for rejection case
        ClientSignature.value = null; // Clear for rejection case
        Instructions.visible = false; // Instructions are for internal people
      } else if (an === "Sales Review") {
        Agreement.visible = true;
      } else if (an === "Manager Approval") {
        Agreement.visible = true;
        ManagerApproval.visible = true;
      } else if (an === "VP Approval") {
        VPApproval.visible = true;
        ManagerApproval.visible = true;
        Agreement.visible = true;
      }
    }
  5. Click the save/exit icon to save the changes to the PO form.  

Modify the workflow:

  1. Create a new linked step from the PO step.
    1. Drag it to the end of the flow.
    2. Type "VP Approval" in the Name property.
    3. Select VP from the Role list 
    4. Set the Pending Message property to "PO sent for VP Approval". 
    5. Type "Client:  {ClientCompany}" in the Task Info property. 
    6. To customize the task notification email the VP receives, click the  Setup Task Notification link.

      1. Type "VP Approval needed for PO from {ClientCompany}" in the Subject field. Leave the default message. Click Finish.
  2. Click to select the Manager Approval step.
    1. Uncheck the Printable property.
    2. Set the Continue Label property to "Send to VP". 
  3. At this point, your workflow should look like this:
     
  4. Click the  save/exit icon to save your changes. 

Test Example 5:

  • Click the Test icon. Fill in the PO and sign as the sales person. Click the Send to client button.
  • Log out of .
  • Check the email account for the customer. Access the email with the subject "Purchase Order from frevvo", click the link provided.
  • Approve and sign the PO as the customer. 
  • Click the Send to frevvo, Inc button. 
  • Check the sales person's email account. Find the notification email with the subject "Review PO from {ClientName}" and click the link.
  • Log in as the designer, click the Perform icon, review the PO then click Send to Manager. Logout.
  • Check the manager's email for the notification email with a subject "Approval needed for PO from {ClientCompany}". Click the link in the email.
  • Log in as jerry. You will see the manager's Task List
  • Click the Perform icon. Note the Manager Approval section displays as specified by the Show/Hide rule.
  • Add a comment and sign as the manager. Click Send to VP. Logout.
  • Log in as ed. You will see the VP's Task List
     
  • Click the Perform icon. Note the Manager Approval and VP Approval sections display as specified by the Show/Hide rule.
  • The sales person and customer receive emails with the signed/approved pdf. Verify that the pdf shows the Client/Sales information, the Client Service Order details, the Signed Agreement,Manager Approval and VP sections.

Example 6 - PO conditional routing

In , preconditions are used to add logic to your flow to skip or perform a step when the condition is true.

We will add a precondition on the VP Approval step to route the workflow to the VP only if the Total Amount of the PO is greater than or equal to $10000.00. When the VP approves, the flow will be completed and the sales person and client receive emails with the signed pdf.

If the amount of the PO is less than $10,000.00 then the VP step will be skipped and the flow will end with the Manager Approval step. The sales person and the client will get the email with the signed pdf.

Modify the workflow:

Make a copy of example 5 and rename it "Example 6 - PO conditional routing" 
  1. Click on the Manager Approval step and change the text of the Continue button to say Finish or Send to VP step.
  2. Click on the "VP Approval" step

    1. Type " TotalAmount.value >= 10000 into the Precondition property.

  3. Click the  save/exit icon to save your changes.

 

Test Example 6:

Follow these steps to test Example 6:

  • Click the Test icon. Fill in the PO with a total amount greater than or equal to $10000.00. Sign as the sales person. Click the Send to client button.
  • Log out of .
  • Check the email account for the customer. Access the email with the subject "Purchase Order from frevvo", click the link provided.
  • Approve and sign the PO as the customer. 
  • Click the Send to frevvo, Inc button. 
  • Check the sales person's email account. Find the notification email with the subject "Review PO from {ClientName}" and click the link.
  • Log in as the designer.
  • Click the Perform icon, review the PO then click Send to Manager. Logout.
  • Check the manager's email for the notification email with a subject "Approval needed for PO from {ClientCompany}". Click the link in the email.
  • Log in as jerry. You will see the manager's Task List.

  • Click the Perform icon. Add a comment and sign as the manager. Click Finish or Send to VP. Logout.

  • Check the email account for the VP. Find the notification email with the subject "VP approval needed for PO from {ClientCompany}. Click the link in the email.
  • Log in as ed. You will see the VP's Task List
  • Add a comment to the VP Approval section. Click Finish. The sales person (designer) and the customer will receive an email with the signed PO. Check the pdf to make sure the VO approval is included.
  • Run the workflow again with a Total Amount that is less than $10000.00. The workflow is finished after the Manager Approval step.The sales person and client receive an email with the signed pdf.

Since we have seen working examples of how the Task Notification emails work, you can bypass them if you prefer when testing workflows going forward.

Example 7 - PO Reject

What happens if the manager or VP need more information or corrections made to the PO before approving? They can send the PO back to an earlier step by clicking the reject button. When a task is rejected, the user who it is being sent back to receives an email informing them of the reason for the rejection.

The  designer configures which steps display a Reject button via the Setup Approval/Rejection wizard. Simply check/uncheck the Reject to here or Reject from here checkboxes for each step in the workflow. The reject button label can also be modified on any step. 

You cannot add a reject button to an email step in a flow. You can, however, add one to a step performed by an anonymous user (our Client Approval step). For example, clicking the Reject button on this step allows the customer to send the PO back to the sales person (designer) for corrections. Once the corrections are made, the flow is sent back to the customer for another review and the flow continues to completion if the customer approves.

Modify the workflow: 

Make a copy (download/upload) of Example 6 and name the new flow "Example 7 - "PO Reject". You can change the button label on any step where Reject from here is checked.

  1. Click the PO step then click on the Setup Approval/Rejection link.
    1. Check "Reject to here" and uncheck "Reject form here" then Submit. Since this is the first step in the flow, there are no steps before it to reject to. If you leave it checked, it will be ignored.
    2. Click Submit.
  2. Click the Email step, You'll see there is no Setup Approval/Rejection link. This simply sends an email with a link to the Client Approval step.. 
  3. Click the Client Approval step.
    1. Leave Reject to here unchecked and check Reject from here.
    2. Change the Reject Button Label to "Send PO back for revision".
    3. Click Submit.
  4. Click the Sales Review step then click on the Setup Approval/Rejection link.
    1. Verify that Reject from here and Reject to here are unchecked.
    2. Click Submit.
  5. Click the Manager Approval step then click on the Setup Approval/Rejection link.
    1. Verify that Reject from here and Reject to here are checked. . The manager can reject the flow back to the sales person and the VP can reject the flow back to the manager step.
    2. Change the Reject Button Label to "Reject PO".
    3. Click Submit
  6. Click the VP Approval step then click on the Setup Approval/Rejection link.
    1. Check Reject from here and uncheck Reject to here.  Since this is the last step in the flow, there are no steps after it that can reject back to it. If you leave it checked, it will be ignored.
    2. Change the Reject Button Label to "Reject PO"
    3. Click Submit.
  7. Click the  save/exit icon to save your changes. 

Test Example 7:

  • Click the Test icon. Fill in the PO with an amount over $10,000.00. There is no Reject button on this step. Sign as the sales person, click the Send to client button then logout.

  • Check the email account for the customer. Access the email with the subject "Purchase Order from frevvo", click the link provided.

  • Notice the reject button with the label Send PO back for revision. Click on this button.

  • Click the down arrow for the To dropdown on the Rejection screen. Select the step in the flow to send the flow back to - in our case - PO - (designer) who is the sales person.
  • Provide an explanation for rejecting the PO in the Reason box. Click Submit.
  • The message "Task successfully rejected" displays.
  • Check the email for the sales person (designer user). Notice the email with the title "You have a new task for Example 7 - PO Reject"
  • Open this email. The reason for the rejection is shown in the body of the email. There is no link to the flow embedded in the rejection email. The ability to customize the rejection email will be available in a future release.
  • Log in as the sales person (designer user). Click My Tasks then click the Perform icon, review the PO, make a change, sign then click Send to client. Logout.

  • Check the email account for the customer. Access the email with the subject "Purchase Order from frevvo", click the link provided.
  • Approve the corrected PO, sign and click the Send to frevvo, Inc button.
  • Log in as the sales person (designer user). Click My Tasks then click the Perform icon. Review the PO then click Send to Manager. Logout.

  • Log in as jerry. You will see the manager's Task List. Click the Perform icon. Notice the Reject PO button on this step.

  • Approve the PO as the manager, sign then click Finish or Send to VP. Logout.

  • Login as ed. You will see the VP's Task List. Click the Perform icon. Notice the Reject PO button on this step.

  • Click Reject PO. A list of steps that you can send the task back to displays when you click the down arrow in the To dropdown. In this example, the VP can reject the task back to the manager Jerry or the sales person (desiger user).

  • Select Manager Approval (jerry) from the dropdown then fill in a reason for the rejection - "Does this project conflict with the Sales Conference in LA". Click Submit. The message "Task successfully rejected" displays.

  • Click theInbox icon. The task is removed from the VP's Task List. Logout.

  • The manager receives an email with the subject "You have a new task for {your flow name}" This email cannot be customized. Note the reason for the rejection is included in the email body. 

  • Log in as jerry. You will see the manager's Task List. Click the Perform icon. Change the comment to inform the VP that the project does not conflict with the conference. sign and click Finish or Send to VP. Logout.

  • Log in as ed. You will see the VP's Task List. Click the Perform icon.

  • Approve, sign then click Finish. Logout. The sales person (designer) and the customer will receive an email with the signed PO.

Example 8 - Save/load

The Save/Load property adds a Save button to a workflow step. If the sales person cannot complete the PO in one session, they can partially fill the purchase order form, save it, then return to complete it at a later date. We will add the Save button to the PO step in this example. Also, we will take this opportunity to view the audit trail - a  feature that is available for any task in the Task List. The audit trail is very useful when you want to view the task's history.

Modify the workflow: 

Make a copy (download/upload) of Example 7 and name the new flow "Example 8 - "Save/Loadl"

  1. Click on the flow designer toolbar to display the flow Properties panel. Check the Save/Load property.

     
  2. Click the PO step to display the property panel for this step. Verify that the Save/Load property is checked.
  3. Click all the remaining flow steps and uncheck the Save/Load property.
  4. Click the  save/exit icon to save your changes.

Test Example 8:

  1. Click the Test icon. Fill in a few fields on the PO. Note the Save button is added.
  2. Click Save. The "Save successful" message displays.
  3. Click My Tasks
  4. Since the sales person only has one task in the Task List, the saved task will display. However, if you have many tasks in the list and you only want to see the partially completed ones, click the Saved Task icon at the top.



  5. Click the Perform icon. Fill in some more fields. Click Save.
  6. You can click the Save button as many times as you want. Clicking the view task history icon will show the audit trail for the task. You will see an entry for each time the task was saved. The task shown in the image was saved 3 times and is currently locked by the sales person (max).

     

  7. When all the fields in the PO are filled in, click Send.
  8. Run the rest of the workflow as described in the previous examples. You will not see the Save button on any of the subsequent steps.

Example 9 - PO Save to User

Manager Jerry is going to the Sales Conference in LA. As he is preparing to leave the office, a PO requiring his approval comes in. Example 9 will show you how Jerry can quickly reassign the PO to another manager, Sue, so he can leave for the conference.
We will need to create another user, Sue Blue. A dropdown control with a list of managers will be added to the PO step so Jerry can select the manager he wants to reassign the PO approval to - in this case Sue.

Create another user:

  1. Log on to  as the tenant admin. 

  2. Click Manage Users on the Manage tenant page

  3. Click the  add new user icon which will bring up the Add New User form

  4. Enter "sue" as the User Name then enter all the required information.

  5. Leave the Reports To and Role fields empty. Click Submit.

  6. You should be back on the user list. Logoff.

Modify the PO step:

Log in as the designer user. Copy Example 8. Rename the copy Example 9 - PO Save to User

  1. Click the PO step and the  to edit it.
  2. Add a field named "ManagerID" with a label "Manager ID" to the Sales Section. Uncheck the Visible property. 

  3. Drop a dropdown control under the Manager Approval Section
  4. Set the label and name of the control to "Managers".
    1. Uncheck the visible property
    2. Add two managers to the dropdown control's Option's property. The option syntax is value=label. Value must be the manager's  username and the label can be a more user friendly label such as the manager's first and last name.   

      jerry=Jerry Mouse
      sue=Sue Blue
       

  5. Click the Properties Style tab and set the control width to half the width of the form.
  6. Drop a message control to the right of the Managers dropdown.
  7. Add this text to the message control's Message property.

    To reassign your approval task to another manager, select that manager from the Managers dropdown and click the Save button.
  8. Set the Name property to ReassignMsg. Uncheck the visible property

Modify/Add Rules:

  1. Click the  rules icon on the toolbar.
  2. Click the  icon to edit the rule "Show/Hide Sections" .
  3. Add these two new lines to the if (an === "Manager Approval") block to make these controls visible on the manager step:
        Managers.visible = true;
        ReassignMsg.visible = true; 

  4. Click the arrow to see how the rule should look with these lines added. 

     Click here to expand...
     if (form.load) {
      var an = _data.getParameter('flow.activity.name');
      if (an === "Client Approval") {
        Agreement.visible = true;
        ClientApproval.required = true;
        ClientApproval.value = null; // Clear for rejection case
        ClientSignature.value = null; // Clear for rejection case
        Instructions.visible = false; // Instructions are for internal people
      } else if (an === "Sales Review") {
        Agreement.visible = true;
      } else if (an === "Manager Approval") {
        Agreement.visible = true;
        ManagerApproval.visible = true;
        Managers.visible = true;
        ReassignMsg.visible = true;
      } else if (an === "VP Approval") {
        VPApproval.visible = true;
        ManagerApproval.visible = true;
        Agreement.visible = true;
      }
    }
  5. Edit the rule "Populate Sales Person" and add this line under the SalesID line:
      ManagerID.value = _data.getParameter('subject.reports.to');  Click the arrow to see how the rule looks with this line added. 

     Click here to expand...
    if (form.load) {
      if (SalesFirstName.value.length === 0) {
        SalesFirstName.value = _data.getParameter('subject.first.name'); 
        SalesLastName.value = _data.getParameter('subject.last.name'); 
        SalesEmail.value = _data.getParameter('subject.email');
        SalesID.value = _data.getParameter('subject.id');
        ManagerID.value = _data.getParameter('subject.reports.to');
      }
    }
    
    
  6. Add a new rule by clicking on the create new rule icon.

    1. Name it "Reassign to User"

    2. Add this line to the rule:  ManagerID.value = Managers.value;  Click the arrow to see the rule: 

       Click here to expand...
      ManagerID.value = Managers.value; 
  7. Click the   save/exit icon to save the changes to the PO form. 

Modify the workflow:

  1. Click the Manager Approval step.
    1. Check the Save to User property and Save/Load properties.
    2. Change the User property from {subject.reports.to} to {ManagerID}  - this must now be set to a dynamically populated control in the PO form.
  2. Click the   save/exit icon to save the changes to the flow.


Test Example 9:

  1. Test the flow to the step for Manger Approval
  2. When performing the task from Jerry's Task List, select the other manager (sue) from the Manager's dropdown. You do not have to sign it.
  3. Click the Save button. The task will be removed from Jerry's Task List.
  4. Login as the other manager (Sue). The PO Manager Approval task is now on her task list.
  5. Perform that task. The flow will be routed to the VP if the amount of the PO is greater than or equal to > $10,000.00.  If the amount is under $10,000.00, the flow will complete.

 

Example 10 - PO Save to Role

In some cases, you may want multiple actions taken during a step in the workflow. Let's say you want to collect comments about the PO from more than one VP in the company. The PO can be routed to the first VP (Ed) who will comment, click Save and the approval task will be assigned to the Task List of all users with the VP role. A second VP can then perform the task from their Task List add their comment, click Save. The last VP to comment signs to complete the flow.

In this example, we will drop the comment control in the VP section of the PO into a repeat control so more than one manager can comment and add some message controls to clarify the instructions. Our workflow must use the Save to Role feature so the saved task is assigned to all users with the VP role that we specified for the VP step. 

We will need to create another user with the role of VP.

Create another user with the VP role:

  1. Log on to  as the tenant admin. 

  2. Click Manage Users on the Manage tenant page

  3. Click the  add new user icon which will bring up the Add New User form

  4. Enter "jim" as the User Name then enter all the required information.

  5. Leave the Reports To field empty. 

  6. Select "VP" from the Role dropdown. Click Submit.

  7. You should be back on the user list. Logout. 

Modify the PO step:

Login in as the sales person (designer user). Copy Example 9. Rename the copy Example 10 - PO Save to Role.

  1. Click the PO step and the edit icon.

  2. Drop a message control inside the VP Approval section

  3. Put the following text into the message control's Message property 

    If you want another VP to comment:
            <ol>
            <li>Add your comment below</li>
            <li>Click the save button to return this PO onto the task list of all employees with the VP role</li>
           </ol>
           Other VPs can add comments by clicking the + icon.
  4. Drop a message control inside the VP Approval section, below the VP Comments text area

    1. Select "Warning" from the Message Type dropdown.

    2. Put the following text into the message control's Message property. 

      The last VP to comment must sign the approval
  5.  Click the Comments control inside the VP Approval section

    1. Type "Enter both your name and comments" into the Placeholder property
  6. Drop a Repeat control inside the VP Approval section immediately above the VP Comments text area.

  7. Drag the VP Comments text area into the repeat control
    1. Click to select the VP Comments text area control
    2. Set the Min property to 0
    3. Set the Max property to 4 
  8. Click the   save/exit icon to save the changes to the PO form.  

Modify the workflow:

  1. Click the VP Approval step
    1.   Check the Save to Role property
    2.   Check the Save/Load property
  2. Click the   save/exit icon to save the changes to the flow.  

Test Example 10: 

  1. Test the flow to the step for VO Approval.
  2. Add a VP Comment.
  3. Click the Save button.
  4. All users with the VP role will receive a task notification letting them know the PO is available on their tasks lists again.
  5. Login as the other VP user and view their task list
  6. Perform the task.
  7. Click the  icon to add another comment and sign the section. 

Example 11 - PO Workflow Escalation

If workflow tasks are not completed within a certain specified time, you can remind the user via an email (s) that there is a deadline for task completion and you can reassign the task to another user when the deadline expires. In Example 11, we will use the escalation feature to set a five minute deadline for manager Jerry to approve the PO. He will receive two emails in that time frame reminding him that he has a task that requires his attention. When the five minute deadline expires, Jerry will receive an email informing him that the task has been reassigned to manager Sue. 

In Example 9, manager Jerry manually selected the manager to reassign the task to from a dropdown control in the PO step. In this example, we will configure the Escalation feature so that  automatically assigns the task to the user/role specified after the time period expires.

We will use the Setup Escalation link on the manager step. Escalations can be set up for any of the steps in our flow except the step performed by the anonymous user (Client Approval). 

 

Modify the workflow:

Copy Example 10. Rename the copy Example 11 - PO Workflow Escalation

  1. Click the Manager Approval step. Click the Setup Escalations link.
  2. Set up the Deadline:
    1. Select Complete Within from the dropdown in the Deadline section. Enter "5" on the minutes box that displays.
  3. Setup the Reassignment:
    1. Select "User" from the Assignee Type dropdown. Type "sue" in the Assignee's text box. Note the list of users displays as you type.
  4. Setup the email that will inform Jerry that the deadline has expired for the PO task. 
    1. Select "Current Owners" from the Recipient Type dropdown. Current Owners will notify users who currently have the task on their Task List via email.
    2. Replace the template {flow.activity.assignee} with {flow.activity.escalation.reassignee} in the message. This change will put the name of the manager the task was reassigned to (Sue) in the message to Jerry. 

  5. Setup the Reminder emails to be sent. For Example, we want a total of two reminder emails to be sent  - one every two minutes during the 5 minute time period.  

    1. Select "Current Owners" from the Recipient Type dropdown.

    2. Leave "Limit Reminders" checked. Enter "2" in the repeat and Every text boxes. Select "Minutes" from the Unit dropdown.

    3. Leave the text of the Reminder message at the default.

  6. Click Submit.

  7. Click the  save/exit icon to save the changes to the flow.

 Test Example 11:

  1. Test the flow to the step Manager Approval step.
  2. Logon as Jerry to verify the PO task is on his Task List..
  3. Wait 2 minutes then check Jerry's email for the first reminder email.
  4. Wait another 2 minutes then check Jerry's email for the second reminder email.
  5. Check Jerry's email for the Task Deadline notification email after the 5 minutes has passed.  The email should mention that the task has been reassigned to Sue. 
  6. Check Jerry's Task List. The PO Approval task should be removed. Logout.
  7. Login as Sue. The PO Approval task should now be on Sue's Task List. Note the task was initiated by "System User".

  8. Perform the task and complete the flow. Logout.  

Example 12 - Quick Approve/Reject

Quick Approve provides the ability for a user to see a simple view of a task in order to Approve or Reject it. A comment and/or signature can be added to the task without viewing the entire form. Quick View makes the process of task review/approval/rejection easy especially on mobile devices. When the sales person uses an iPad or Iphone to access their task list, they can perform a quick approval/reject without having to view the PO details by clicking the

In this example, we will add Quick Approval to the Sales Review step. We will add a Sales Approval section to the PO, modify the Show/HIde sections rule to make this section visible on the Sales Review, Manager Approval and VP Approval steps then use the Setup Approval/Rejection wizard to configure Quick Approve on the Sales Review step. 

Modify the PO step: 

Copy Example 11. Rename the copy Example 12 - Quick Approve/Reject

  1. Click the PO step then click the  edit icon.
  2. Drop a Section control below the Agreement section. Label it "Sales Approval" . The section name will change to SalesApproval
    1. Uncheck the Visible property.
    2. Click the Security tab on the section and set the Signature property to Text/Signature Image.
    3. Check Must sign
  3. Drop in a textarea control. Label it Sales Comments and verify that the name is SalesComments. The Sales Comments section is an example of an approval control (section with a textarea - no other controls). You must have an approval control to successfully configure the Quick Approval feature.

Modify the Show/Hide Sections Rule:

  1. Click the  rules icon on the toolbar.
  2. Click the  icon to edit the rule "Show/Hide Sections" rule.
  3. Add this line to the if (an === "Sales Review"),  if (an === "Manager Approval") and if (an === "VP Approval") blocks to make the Sales Approval section visible on the Sales Review, Manager Approval and VP Approval steps:
        SalesApproval.visible = true;   

  4. Click the arrow to see how the rule should look with these lines added. 

     Click here to expand...
    if (form.load) {
      var an = _data.getParameter('flow.activity.name');
      if (an === "Client Approval") {
        Agreement.visible = true;
        ClientApproval.required = true;
        ClientApproval.value = null; // Clear for rejection case
        ClientSignature.value = null; // Clear for rejection case
        Instructions.visible = false; // Instructions are for internal people
      } else if (an === "Sales Review") {
        Agreement.visible = true;
        SalesApproval.visible = true;
      } else if (an === "Manager Approval") {
        Agreement.visible = true;
        SalesApproval.visible = true;
        ManagerApproval.visible = true;
        Managers.visible = true;
        ReassignMsg.visible = true;
      } else if (an === "VP Approval") {
        VPApproval.visible = true;
        SalesApproval.visible = true;
        ManagerApproval.visible = true;
        Agreement.visible = true;
      }
    }
  5. Click the   save/exit icon to save the changes to the PO form.  

Modify the workflow:

  1. Click on Sales Review step
    1. Click the Setup Approval/Rejection link.
    2. In the Quick Approve section, check the Enabled checkbox.
    3. Copy the text below into the Summary:

      {ClientName} from {ClientCompany} has approved the PO for {TotalAmount}!!!
    4. Select Sales Approval from the Approval Control dropdown.
    5. Click Submit.
  2. Click the   save/exit icon to save the changes to the flow.

Test Example 12:

  1. Test the flow to the Client Approval step. Approve the PO.
  2. Logon as the sales person (designer).
  3. Click My Tasks. 
  4. Click the quick view icon. The Quick Approval screen will display.

     

  5. If the client did not approve the PO and sent it back to frevvo with comments, the Sales Person can click the Details button to view those remarks.
  6. Notice the text we added as the Quick Approval summary appears at the top.
  7. Add a comment and click Approve. You will see the message "Task Successfully Approved"
  8. Complete the flow.

Example 13 - PageBreak : Mobile

What do you have to do to run the PO flow on an iPad or iPhone? Nothing!!!!  automatically breaks up the form into steps and adds Back and Next buttons.  uses the device’s features to make the mobile experience easier for the user e.g. specialized keyboards. 

If you want to specify where the logical breaks are, you can use the PageBreak control to break the PO step into small logical pieces. For example, our PO has Instructions, Sales Information, Client Information and Client Services Order sections. In this example, we will use the PageBreak control to display the Instructions, Sales and Client Information sections on the same screen on an iPad and and on two separate screens on a smartphone. We will add another PageBreak control to display the Client Services Order section on a separate screen on both devices.

Modify the PO step: 

Copy Example 12. Rename the copy Example 13 - PageBreak : Mobile

  1. Click the PO step then click the  edit icon.
  2. Click the show/hide page breaks icon in the toolbar once. Pagebreak controls in the PO form will display.
  3. Click on the PageBreak control below the Sales Information section. Notice this PageBreak is only set up for the iPhone. 
  4. Drop a PageBreak control from the palette above the message control "Travel and expense will be invoiced on a cost basis and are payable upon receipt of invoice.".
  5. Uncheck Tablet so this will only add a page break when the form is viewed on a smartphone.

  6. Click the   save/exit icon to save the changes to the PO form.   

  7. Click the   save/exit icon to save the changes to the flow. 

Test Example 13:

  1. Click the Test icon. This is the desktop view. You will see all of the sections on the same screen. 
  2. Click the Tablet icon at the top. The Instruction, Sales Information and Client Information display on the same screen, as expected, since the first PageBreak was setup to be recognized on the phone and not the tablet,  The second PageBreak was setup to be recognized by the phone and the tablet so you will have to click Next, to see the Client Services section.

  3. Click the Phone icon at the top. You will see the Instructions and Sales Information sections only. The first PageBreak was setup to be recognized on the phone so you will have to click Next, to see the Client Information section.  The second PageBreak was setup to be recognized by the phone and the tablet so you will have to click Next, to see the Client Services section.    

Example 14 - Fast Finish

In this example, we will switch to an Employee Onboarding workflow to demonstrate the Fast Finish feature. This feature adds a Finish button that allows the user to fast forward through a screenflow. It is very useful if your screenflow contains a lot of steps. Let's consider this scenario:

A new employee starts their first day at your company and needs to provide their information. The employee is handed an iPad with a link to an Employee Onboarding workflow that is used to collect basic information,  W - 4 allowances and Education information. When completed,  the new employee clicks the Continue button and the flow is routed to their manager for approval. If approved by the manager, the flow is routed to HR for final processing.

Imagine the employee completes the flow through the Confirmation step and then decides to navigate back to make a change to the Employee Information step. Without a fast finish button the screen flow will make the user review each step  - Employee Info, W-4, Education Info and Confirmation in order to submit the forms to the manager for approval. But by adding Fast Finish the new employee can now click on the Finish button and (as long as all required fields are complete and valid in all other flow steps) immediately submit the forms to the manager for approval.

We will use the Navigation toolbar at the top to navigate back and forth between the steps of the flow. We will configure Fast Finish on the first three steps. We will also need to add another role, HR and another user, Pam who has the HR role, to test it.

Add a Role and User:

  1. Login as your tenant admin.

  2. Create a new role -  HR.

  3. Add a new user pam and give her the role HR. Logout.  

Modify the workflow:

  1. Login as the designer.  Edit the Purchase Order application.
  2. Make a copy of the Employee Onboarding flow. Name the copy Example 14 - Fast Finish
  3. Click on the Employee Information step.
    1. Check Fast Finish on the Property panel.
  4. Click on the Allowances step.
    1. Check Fast Finish on the Property panel.
  5. Click on the Education step.
    1. Check Fast Finish on the Property panel.
  6. Click the   save/exit icon to save the changes to the flow.  

Test Example 14:

  1. Click the Test icon.

  2. The Employee Information step prefills the user name and uses the Geo-location feature to capture the user's location.  All browsers will show a pop up asking the user's permission to use their location. Click  to give permission.

  3. Fill in the other required fields. Click Continue.

  4. Fill in the W - 4 Allowances. Notice the Total Allowances field is updating as you enter values for the other allowances. this calculation is done using a business rule. Click Continue.
  5. Fill in the Education Information step. Notice if you check "yes"  for the "Permission to access college transcript" question a table requesting additional information displays. This is controlled by a show/hide business rule. Click Continue.
  6. On the Confirmation step, click Review the pdf. The W - 4 will open in a separate browser tab merged with the data you entered.  This is an example of the  pixel-perfect PDF generation feature.
  7. While reviewing the pdf, you realize you made a mistake when entering your social security number.  Close the pdf.
  8. Click the Employee Information step in the Navigation toolbar at the top.
  9. Make a change to the SSN. Click the Finish button.
  10. The flow will skip the Allowances and Education information steps and return you immediately to the Confirmation step.
  11. Review the pdf to verify the updated SSN is now displaying. Close the pdf.
  12. Sign then click Send to Manager.
  13. Login as Jerry. Perform the task. Add a comment and sign. Click Send to HR.
  14. Login as Pam and complete the flow.  

Example 15 - Summary

In this example, we will add a Summary step to the Employee Onboarding flow. This will simply display a Summary view of all the data that has been entered into the various steps of the flow prior to the Summary step. Previously completed steps in a workflow can be viewed by all users but editing data is only allowed for the currently logged in user. Clicking on the Details button navigates to the selected step for viewing/editing. 

We will change the Navigation property to a different format and use the Summary step to navigate back to a previous step.  

Modify the workflow:  

  1. Login as the designer.  Edit the Purchase Order application.
  2. Make a copy of Example 14. Name the copy Example 15 - Summary
  3. Click on the toolbar to display the flow property panel. Select "Percent" from the Navigation dropdown. 
  4. Drag a Summary from the palette and drop it in between the Education Information and Confirmation steps.
  5. Click the   save/exit icon to save the changes to the flow.  

Test Example 15:

  1. Click the Test icon.
  2. Run the flow. Notice the percent completed is displayed at the top
  3. On the Summary step, click the Details button on a previous step to view the entered data.
  4. Change a value in one of the fields.
  5. Click the Continue button on the rest of the steps.
  6. Complete the flow.

 

Example 16 - Save on Navigate

Imagine a large workflow with many steps - let's say 30. You are filling in the screens  and when you get to screen 25 you accidentally close your browser! None of the entered information is saved and you will have to begin all over again. Unless you check the Save on Navigate checkbox for the flow.  This feature will automatically save the flow to your Task List. When you click the Perform icon to open up the task returns you to the last step where data was being entered. If you navigate to previous steps, all entered data displays.

Modify the workflow:  

  1. Login as the designer.  Edit the Purchase Order application.
  2. Make a copy of Example 15. Name the copy Example 16 - Save on Navigate.
  3. Click on the toolbar to display the flow property panel. Select "Navigation Toolbar" from the Navigation dropdown. 
  4. Check the Save on Navigate checkbox to turn this feature on.
  5. Click the  save/exit icon to save the changes to the flow.  

Test Example 16:

  1. Click the Test icon.
  2. Fill in the Employee Information and Personal Allowances steps in the New Employee Onboarding workflow.
     
  3. Fill in the first column of the first row of table on the Education step.
  4. Close the browser.
  5. Login as the designer.
  6. Click My Tasks. The unfinished task will be on your Task List.
  7. Click the  Perform icon. returns you to the step where you left off.
  8. Continue entering data from this point to complete the flow.



 

 

 

 

 

 

 

 

 

 

 


  • No labels