Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel5

Image RemovedImage Added

When you click on any step in the workflow, a series of action icons display depending on the step type. 

  • Properties displays tabs to set up Settings, Assignment, Messages, Rejection, Precondition, Escalations, Emails, Web Hook, Quick Approval, and GeoLocation. 
  • Edit form takes you to Forms editing mode for the form or parent form of a linked step.
  • Download Step allows you to download the step of the workflow as a standalone form. You may want to do this if you update the step in the workflow designer and you want to keep your Forms and Workflow libraries in sync.
  • Delete removes a step in a workflow. You will be asked to confirm the deletion. fi
    Image Modified

Summary and HTTP steps only display the Properties and Delete options.

Step Properties Wizard

The Step Properties wizard opens when you click on a workflow step or select Properties from the step's action menu. The workflow outline will slide left but stay visible, and the Step Properties tabs will appear. You can close the Properties wizard by clicking the X just above it.  

...

  • You can navigate between tabs and between Guided Designer editing modes as you make edits, and your changes will be temporarily saved. Click the Save to permanently save your changes and continue working.
  • You can switch between steps while remaining on the same properties tab. This may be helpful when making lots of similar changes to workflow steps, such as changing the Task Info message for every step of a workflow.
  • frevvo will validate the Property Settings when you save. If a property value is invalid, the tab(s) will not close and a message will display with two options.
    • CLOSE: Close this dialog and fix your errors. Your changes will be saved, but you must correct validation errors shown in order to proceed.
    • DISCARD & CLOSE: Discard your changes. You can then navigate elsewhere. Note that this discards all changes made in the properties settings, not just the validation errors. 
    • The screen will stay on the current tab if there is a validation error.  Otherwise, another invalid tab will be auto-selected (starting from left to right) if another tab needs attention. Tab labels with invalid entries display in red.
      Image RemovedImage Added
  • Hover over any field on the Properties tabs to see a helpful hint providing information about the property. Some fields contain instructions to guide you.
  • Clicking on the down arrow for a property shows an unfiltered list of choices applicable to that property. For some properties, you may see templatized controls from your workflow and workflow/special templates provided in frevvo.
  • In some cases, you can type ahead to narrow down the list. Use the up/down arrows, the Enter key or click an option with your mouse to select an option. Use the Backspace, Delete or click the x on a selected property to delete it.
  • Typing an opening curly brace into some fields, followed by the name of a control, show a list of the fields in your workflow that match the entered text and will be added to the field as a control template.
  • On some tabs, you may have to slide the toggle to the right to turn on a feature.

Each step property setting is described below. 

Tip

Click the Help icon at the top of any tab for a quick tour of the features in that section. Currently tours are only available for Cloud customers.

...

The designer can select a decorator for the steps in a workflow by choosing an icon from the Decorator dropdown. The selected decorator will replace the default number for the step of the workflow on the Navigation toolbar and will display in the Workflow Diagram. 

No decorators selected:

Image RemovedImage RemovedImage AddedImage Added

With decorators selected:

Image RemovedImage RemovedImage AddedImage Added

Printable

If this is unchecked, then this step will not appear in the printable PDF for the workflow. This is commonly used when you add the same form to the workflow multiple times. The Printable property is only available on non-linked steps. The setting for the parent step applies to that step and all steps linked to it. The form for linked step(s) will only be printed once in the PDF snapshot. The designer can have fine-grained control over which controls appear in the PDF by editing the step and setting the control's printable property.

...

Built-in workflow templates

  • {flow.id} - The unique workflow instance id. This id is unique for each workflow submission.
  • {flow.type.id} - The unique id associated with a given workflow. See Sharing Forms
  • {flow.extid} - Client defined extId passed in the formtype Url parameter.
  • {flow.name} - The name of the workflow.
  • {flow.description} - Description of the workflow. 
  • {flow.activity.id} - The Id of the current workflow step.
  • {flow.activity.name} - The name of the current workflow step
  • {flow.activity.reject.reason} - The reason a workflow step is rejected

...

Expand
titleClick here for a Pending Message example.

Let's say you have a 3 step Expense Report workflow.

Section


Column
width20%


Column
width80%
  1. Step 1 (the Expense Report) is filled in by the employee. It has fields that collect the user's ManagerID and Manager Name. When the employee submits the Expense Report, we want the employee to see the message "Your request has been sent to Jerry Jones". We can make the manager's name in this text dynamic using the template {ManagerName} and use the name entered in the ManagerName field in Step 1.
  2. Step 2 is performed by the employee's manager who approves or rejects the report. When the manager approves the report and clicks submit, we want to display the message "The Expense Report has been sent to Payroll for processing" to the manager.
  3. Step 3 is performed by an employee in the payroll department who processes the Expense Report for payment.


To understand where you type in the text for your messages to get them to display when you want them to, think of the Pending Message property as the message that is displayed when users try to access workflow steps. In our example, when the employee submits Step 1, the workflow moves to Step 2, the manager approval step. The Pending Message configured on Step 2, "Your request has been sent to {Manager name}", is shown to the employee instead of the Step 2 form. When the manager approves the Expense Report and submits Step 2, the Pending Message configured on Step 3, "The Expense Report has been sent to Payroll for processing", is displayed to the manager when the workflow moves to the Payroll department employees instead of the Step 3 form.

To set up the Pending messages discussed in our example, follow these steps:

  1. Click on the first workflow step to display the Properties Wizard.
    1. The Pending Message for Step 1 displays the default - "Your request is being processed"
    2. A Pending message set up on the first step of a workflow is only displayed if there is an assignment on the first step. This feature is useful for auto-starting workflows programmatically. Leave the default Pending Message or leave this field blank on the first step if you are not using this feature.

  2. Click on Step 2 of your workflow - in our example this is the Manager step. Notice that the Step Properties Wizard stays on the Messages tab, but the step name above the tabs changes to Manager.

    1. Type "Your request has been sent to {ManagerName}" into the Pending Message field. The employee will see this message when he/she submits Step 1.
      Image RemovedImage Added

  3. Click on Step 3 of your workflow - in our example this is the Payroll step. Notice that the Step Properties Wizard stays on the Messages tab, but the step name above the tabs changes to Payroll.
    1. Type "The {flow.name} has been sent to Finance for processing." without the quotes into the Pending Message field. The manager will see this message after clicking Submit on Step 2.

      Image RemovedImage Added

  4. Save the workflow.

Tip

If you want to display a custom message such as "Expense Report Processing is complete." after the Finance user clicks the Finish button, use the Workflow Properties Message tab for the workflow. 


...

Let's say you have a Purchase Order workflow where the PO is sent to the customer for signature. The designer can configure a Reject button on this step (anonymous) so that the customer can send the PO back to the sender for corrections before signing.

Image RemovedImage Added

Subsequent workflow steps can be configured to Reject the task back to the customer, if necessary.

...

Steps performed by the same user in a workflow are referred to as a screenflow. The steps of the screenflow are considered one task. The reject functionality will allow users to reject only to the beginning of that screenflow. You cannot reject back to steps after step 1 in the screenflow.

Tip
Steps performed by the same user that are separated by Anonymous Task steps are considered to be separate workflow tasks. For example, consider a Purchase Order workflow with the following navigation: Step 1 is performed by Sales employee > Step 2 is sent to the customer's Email Address (Anonymous user) > Step 3 is performed by the same Sales employee that performed Step 1. You can configure a Reject button on the Sales step that will show both steps as rejection targets even though Step 1 and 4 were performed by the same user. Refer to the Workflow Tutorial for an example.

Customize the Rejection Email

It is possible to customize the subject and email message body that is sent when a workflow task is rejected. You will configure this email on the step you are rejecting from. The customized rejection email will be sent when the Reject button is clicked on that workflow step or Quick Approval screen.

You can choose controls from your form which will be added to the Message as templates or you can use built-in templates as described below. Click on theImage Modifieddown arrow shows the list.

  •  {flow.name} - Name of the workflow
  •  {subject.first.name} - First name of the user who rejected the task.

  •  {subject.last.name} - First name of the user who rejected the task.

  •  {flow.activity.name} - The step of the workflow that was being performed when the task was rejected.

  •  {flow.activity.reject.reason} - The reason for the rejection.

  •  {task.perform.url} - The URL to the rejected task.

...

Expand
titleClick here to see how to implement Submit as Disapproved for the above example.

Follow these steps to implement Submit as Disapproved:

  1. Create an approval section with a Radio button in Step 2 of the workflow. Note the name of the Manager Approval control. In this example, the control where the Manager selects "Yes or No" to approve/reject is named mgrApp.
    Image RemovedImage Added

  2. Add a Precondition on between Step 2 (Manager Approval) and Step 3 (VP Approval) so that it only executes when the Manager selects "Yes" in the Approval control in Step 2. When the Manager selects "No"  Step 3 will be skipped and the workflow completes.
    Image RemovedImage RemovedImage RemovedImage AddedImage AddedImage Added


  3. Use the Visual Rule Builder to write any Business Rules needed for behaviors after the Reject to Discard selection is made. For example, a business rule to show a message to the Manager explaining the workflow status, when "no" is selected and to hide the message if the Manager selects "yes" to approve the request.
    Image RemovedImage RemovedImage AddedImage Added
  4. Add mgrApp to your Searchable Fields so it will show in the Submissions table.
    Image RemovedImage Added
  5. Optionally, configure the Reject button to give the Manager/VP the opportunity to reject the workflow back to a previous step for revision.
  6. View the submission in the Submissions repository. Notice the mgrApp is visible in the table, and you can filter the submissions by it if desired, for example, to only display approved submissions.
    Image RemovedImage Added

Troubleshooting the Reject Button

Here are some reasons why you might not see the Reject option on a step where "Reject From Here" is selected:

  1. If  the Reject To Here option is not selected in the previous steps, the user won't be able to see the Reject button on the current step.
  2. When consecutive steps are executed by the same user, frevvo treats it as a screenflow. Think of those steps in the screenflow as one task. The reject functionality allows users to reject only to the beginning of that screenflow/task i.e. where the previous user started his work. It won’t allow a reject to the in-between steps.
  3. If the immediate steps prior to the current step were performed by the same user, then he/she cannot reject to those steps (the user is rejecting the workflow to himself). Users can reject only to those steps performed by other users, or to steps performed by himself that do not come immediately before the current step.
  4. If a previous step was skipped because its precondition failed, then the user won't be able to reject to such a step.
  5. If a precondition on the previous step passed when that step was being performed, but the control values change causing the precondition to now fail, the user might not be able to reject to that step.
  6. The Reject button will not be displayed at all if the conditions are such that users cannot reject to any prior steps. For example, a workflow that is started by an anonymous user will not display a reject button on the following step, because it's not possible to reject to the first step if it was performed anonymously.

...

  1. You can skip a task when the deadline expires and the workflow automatically navigates to the next step. This is set up on the Action tab.
  2. You can reassign the task to another user/role. This is set up on the Action tab.
  3. You can send notifications to the user(s) that currently have the task that the deadline has been reached and the task has been reassigned. This is set up on the Notifications tab.
  4. You can use templatized values of controls in any of the Assignee(s) fields in the Escalation setup screen. The username that is filled in as that control's value will be picked up during escalation.
  5. You can send reminder emails to the user(s) who have the task on their task list at specified intervals reminding them that the deadline for the task is approaching. This is set up on the Reminders tab.

For example. if you wanted to send reminder emails to the user(s) who currently have the task on their Task List that the deadline is approaching and then send an email notification to them when the deadline is reached, you would configure the Notifications and Reminders tabs and check None (Notify Only) on the Action tab. Continue reading for more details.

Escalation Tips
  • Multiple escalation triggers can be setup for the same step in a workflow.
  • Escalations will use the business calendar and timezone configured by the tenant admin.

...

Select a condition from the dropdown. There are 4 choices:

  1. Perform By - This condition is met when the user clicks the  (if the task is assigned to a particular user) or ( if the task is assigned to a role) Perform icon on the task in the user's Task List or Saves/Locks the task before the configured due date. If the Task Notification email includes the {task.perform.url} then the deadline is met when the user clicks the link in the email to display the task. 

  2. Perform Within - This condition is met when the user clicks the  (if the task is assigned to a particular user) or ( if the task is assigned to a role) Perform icon on the task in the user's Task List or Saves/Locks the task before the configured the configured duration). If the Task Notification email includes the {task.perform.url} then the deadline is met when the user clicks the link in the email to display the task.
  3. Complete By - This condition is met when the user clicks the Continue/Finish button on a step in a workflow before the configured due date.
  4. Complete Within - This condition is met when the user clicks the Continue/Finish button on a step in a workflow before the configured duration.

Selecting Perform By or Complete By displays two options.

  • Using Date/Time Control: The Due Date control dropdown displays all date controls in your form. 

    Image RemovedImage Added

    • The control used in the template must have a value before the task is created. For example, a date entered by the user on Step 1 can be used in an escalation condition on any later step. However, that date control template will not work in an escalation on Step 1, because the escalation is created at the moment the Step 1 task is created (when the form loads), and at that moment the control does not yet have a value. The date or date/time control used as a template in an escalation can get its value a) in use-mode or by business rule in a prior step, b) by setting a default value in the designer, or c) using _data when the workflow is initialized. 
    • An invalid due date template value will resolve to the current time to prevent any use-mode errors. The following message will appear in the frevvo logfile: "Escalation Due Date {DueDate} resolves to an invalid value".
    • Date controls will automatically use the end of the day set in your business calendar in UTC, or 11:59 PM if no end of the day is set, as the time component. 

  • Using Fixed Date: Enter a date/time as the deadline.
    Image RemovedImage Added

Selecting Perform Within or Complete Within displays Days, Hours, Minutes, and a Business Calendar checkbox.

  1. Specify the amount of time the user has to perform or complete the task in Days, Hours, or Minutes.
  2. Check the Business Calendar checkbox if you want frevvo to use the business days, times, and timezone specified for your tenant to calculate a task deadline. The business calendar is set up at the tenant level by the tenant admin.
Image RemovedImage Added
Escalation Actions

...

  1. None (Notify only) - Check this option if you want to send reminder emails to the user(s) who currently have the task on their Task List that the deadline is approaching and then send an email notification to them when the deadline is reached. The Notification tab becomes required. The task will not be reassigned or skipped. 
  2. Reassign Task - Reassignment sends the task to the user/role selected if the deadline is passed. Select whether the task will be reassigned to a Role, User or Unlock to Role: 

    1. If you select Role or User, then you must select the user or role in Select Role or User Assignee(s) field. Type ahead to display the Roles/Users in your tenant that begin with the letter you are typing and select from the list or enter comma-separated templates. Remember that frevvo userids and roles are case-sensitive. If reassigning to a specific user, only one user id can be selected but you can reassign to more than one role.
    2. Unlock to Role - This option unlocks the task. Use this option for a step in your workflow that has a role assigned to it and you want to handle the situation where one user with that role has the task locked and the deadline for the task has passed. Selecting Unlock to Role unlocks the task and keeps it on the Task list of all users with the role after the deadline expires. Now it can be performed by any user with the specified role again.
      For example, let's say you have a step in your workflow that is assigned the manager role. Users Jerry and Jim are managers so the task shows up on both their task lists. Jerry clicks the Perform icon but he does not complete the step. The task remains on his task list and it is locked by him. If Jim tries to access the task or checks the Audit Trail he will see that the task is locked by Jerry. The deadline to complete the task passes. If Unlock to Role is selected as the reassignment option, the task remains on the task list of users with the manager role, in this case, Jerry and Jim, but it is unlocked and the audit trail shows a status of pending. Now it can be performed by any user with the manager role again.
    3. Reassigned users receive the Task Information email specified by the designer. So be sure to Setup Task Notification Email for the step in your workflow where you assigned escalations and you want to reassign the task after the deadline.
  3. Skip Task - check this option if you want the workflow to escalate automatically to the next step when the timer expires. When checked, no further configuration is required.

    Info

    Skipping a task is only supported if the next step in the workflow is a form/summary step. Configuring the Skip a task feature on the last step of your workflow will not work. 


Escalation Notifications

Image RemovedImage Added

You can set up notifications for any of the three actions. 

...

Expand
titleClick here to see some Escalation Examples
Escalation Example 1
Let's consider a Time Sheet workflow consisting of 3 steps: 
  1. The employee accesses the Time Sheet workflow, fills in the form, signs it, and clicks Continue. frevvo sends that employee's manager a notification via email
  2. The manager clicks on the notification [on any device], views the Time Sheet approval request, and approves it or sends it back for corrections.
  3. If approved by the manager, the workflow is routed to employees in the payroll department for final processing. 

In this example, the designer has configured a 10-minute interval for the Manager to approve/reject the task. The Escalation tabs are shown:
Employee William submits his Time Sheet at 12:55 PM. The deadline to complete this task is 1:05 PM. William's Manager Jerry receives a Task Notification email notifying him there is a task that requires his attention. The email includes a link he can use to access it.
In this example, the deadline to complete the task is 1:05 PM. Based on the setup of the Reminder(s) section shown above, Jerry will receive 3 reminders every 3 minutes as the deadline approaches. The emails contain a link that Jerry can click to get to the task. The first one arrives at 12:56 PM, the second at 12:59 PM and the final reminder before the deadline arrives at 1:02 PM.
At 1: 05 PM, the task is removed from Jerry's task list since it was not completed in the allotted time and is routed to the task list of any users with the role of Supervisor. Jerry receives an email informing him that the deadline for the task has expired and the task is now assigned to any user with the role of Supervisor.
Reassigned users receive the Task Information email specified by the designer. So be sure to Setup the Task Notification Emails.
When Jack, a user with the role of Supervisor, accesses his task list he will see a task sent to him by the system and the Audit Trail shown in the image:
Image Modified
Escalation Example 2
Let's consider a situation where you might want to skip the task after the deadline has been reached. Imagine a workflow with a requirement that it must be approved by specific users in sequence. To prevent the chain of approvals from being delayed if one user does not perform their approval before the deadline, the designer can check the Skip the Task checkbox on the workflow steps and frevvo will automatically complete the current step and create a pending task on the Task List of the next user.

The Project Approval workflow shown in the image must be approved by Approver 1 and Approver 2 in that order. The escalation set up on the Approver 2 step automatically skips this step and advances the workflow to the next step. Notice that notification and reminder emails are also configured.

In this example,
  • The Approver 1 and Supervisor steps do not have Escalation configured.
  • The Approver 2 step has an escalation that specifies the step must be completed within 3 minutes. 
  • If Approver 2 does not complete the task within 3 minutes, the Approver 2 step is skipped and the workflow advances to the Supervisor step.
  • Approver 2 receives a notification email stating that the workflow is now assigned to a Supervisor.
  • Approver 2  receives 1 Reminder email during the 3 minutes interval.


Here's what happens:
Image RemovedImage Added
  1. Project Details are submitted for approval.
  2. Approver 1 receives a Task Notification email, clicks the link in it, and performs Step 2 of the workflow. The task is placed on Approver 2's task list.
  3. Approver 2 receives a Task Notification email which includes a link to the task. Approver 2 does not click the link in the email to perform the task.
  4. Approver 2 receives 1 reminder email. Approver 2 does not perform their approval within the 3 minutes.
  5. When the 3 minutes expires, the task is removed from Approver 2's Task List. Approver 2 receives a customized email stating that the workflow has moved to a Supervisor for approval.
  6. All users with the role of Supervisor receive a Task Notification email which includes a link to the task. 
  7. Someone in the Supervisor group approves/rejects the task.

...

  1. Drag/drop a Section control into the step of the workflow where you want to configure the Quick Approval feature. Name the section whatever you want.
  2. Drop a Textarea control inside the section. Do NOT add any other controls to the section.
  3. The Approval control can be optionally set up to be digitally signed. Regular text digital signatures and Wet Signatures are supported. See Electronic Signatures for more information. The image below shows a section named Manager Review with a textarea control for comments. Text/Signature image is selected on the Signature dropdown on the section security tab. This section meets the requirements for an Approval control that can also be digitally signed.
    Image RemovedImage Added

 Quick Approval will be disabled if the approval control is removed from the workflow step or additional controls are added to the Approval Control section.

...

If the workflow step does not contain an Approval Control, you will see this warning message when you display the Quick Approval tab.

Image RemovedImage Added

Setup Quick Approval

...

There is a visual cue, a lightning icon, that displays on a workflow step if quick approval is enabled.

Image RemovedImage Added

Quick Approval Example

...

Expand
titleClick here

Let’s use an Employee On-Boarding workflow as an example.

The Employee On-Boarding workflow consists of 6 forms: Employee Information, Allowances, Additional Information, Confirmation, Approval, and Office Use Only. The requirements are as follows:

  • The new employee fills out 4 forms: Employee Information, Allowances, Education History, and Confirmation.
  • The Confirmation form allows the new employee the opportunity to confirm the information and view the generated W-4 form.  
  • Upon submission, the workflow is routed to the new employee’s manager for approval.
  • Managers can approve/reject the forms from an iPad or iPhone, using the Quick Approval feature which is configured on the Approval step of the workflow
    • If approved, the task is sent to the Human Resources department so that the Office Use Only form can be completed.
    • If rejected, the task is sent back to the new employee for correction.

The Approval step consists of one section named Manager Review. This section has one control in it – a text area where the manager can comment. The section is set up for a digital signature - the Text/Signature image choice is selected in the Signature dropdown on the Security Tab. This section meets the criteria for an Approval Control and can be used to set up the Quick Approval feature.

  1. Click on the step in your workflow where you want to set up Quick Approval and select the Quick Approval Tab. If the form does not include an Approval Control, the wizard will indicate that the Quick Approval feature cannot be configured. 
  2. Slide the toggle to the right to turn on the Quick Approval feature.
  3. Set up Task Information for the Quick Approval view in the Summary field. You can type the Summary statement or click the down arrow to include control and built-in form/workflow templates in the Task List Summary. The Summary gives the mobile device user a short description of the task.
  4. Select the Approval Control from the Approval Control dropdown. In this example, the Manager Review section is the Approval set up on the second step of the workflow - the Manager Approval step

 Save your changes and continue working.

A Lightning icon appears on the step in the workflow once the Quick Approval has been enabled. This icon will appear and disappear as required when you enable/disable Quick Approval using the wizard.

Image RemovedImage Added

The Quick Approval screen shown above displays in a manager's Task List when it is accessed from a mobile device. The manager clicks the Quick View icon  on the Task List to approve/reject the task without having to view all the details.

Refer to the Using the Task List for more information about how to use the Quick Approval feature.

...

Select one of three options from the Geo Location dropdown to turn this feature on:

Image RemovedImage Added

  • None - (no location) - this is the default
  • On Load - turn the feature on when the workflow step loads (at start time)
  • Custom - allows the designer to specify a periodic refresh. The default value is 30 seconds. Choosing this method will fire a rule in the specified time. For example, if the field to the right of the Geo Location Dropdown was set to 10, the rule would fire every 10 seconds. 

...