Versions Compared

Key

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


Section


Column

Many workflows often involve a number of people filling out different sections of a single form. So when you're designing this type of workflow, you're most likely dragging the same form into the workflow designer repeatedly to create the different steps in the workflow.

Another way to create this type of workflow is to use the Linked Steps feature of the Workflow Designer. In this method, you create a linked version of a form for each step you want in your workflow. One great advantage of this method is that if you need to make changes to the form step(s) after you've created your workflow, you only have to edit the "parent" form — the editing changes are automatically propagated to its linked forms in the workflow. Conversely, if you drag multiple copies of the same form into a workflow to create steps, you'd have to make any changes to each copy of the form in each step.

If you want to show or hide different parts of a form depending on which user is filling it out, you can easily do this in a workflow designed with linked steps using Business Rules.

One circumstance in which you might not want to use linked forms is a workflow in which each user is filling out a different form.

  1. To create linked forms in a workflow, add a step to the workflow by dragging a form into the workflow designer.
  2. Click on the step and then click  Link to create a linked form.
  3. Continue clicking Link to create as many of the linked forms as you want.


Column
width240px

On This Page:

Table of Contents
maxLevel2


The example below shows the parent Lodging-Meal Selections form and its two linked forms. Notice that the parent form and its linked forms initially all have the same name, but the linked forms are represented by a double box. Remember, a linked step is a copy of the parent form. Parent step shows five icons while the linked steps display only the  Edit Step Properties and  Delete Step icons.

  • Image Modified Edit Step Properties displays the Properties Wizard for the workflow step.
  •  Link Step creates a linked step.
  •  Download the parent step as a standalone form.
  • Edit Step opens a step in the Form Designer to edit it.
  •  Delete Step removes the step.

Image Modified

Finding the Name of the Parent Step

...

  • Type the name of the workflow step in the Name field on the Settings tab. For this example, the name of the third step is Finance.
  • Click on the Assignment tab. Add the Finance role to the Assign to Role field. You can begin typing the role name in the field to filter the dropdown choices. Click Submit.

Save the workflow.

Image Modified

Edit Step 1 of the workflow. Click the  Rules icon on the Form toolbar. Write the Show/Hide rules and any other Business Rules you might need.

...

Example 2 - Linked Steps using the Security Tab

Note

The Role selector in the Security tab is a deprecated feature that will no longer be available in a future release. frevvo recommends using show/hide rules based on {flow.activity.name} as a more reliable method that works in every use case. Show/Hide rules are easily created using the Visual Rule Builder. Refer to this example: Show/Hide Controls and Workflow Steps.


Expand
titleClick here to learn how Role Selector is used...

The parent step in this example is a form that contains a Tab control consisting of three tabs: Room Information, Guest Information and Payment Method.

Because the parent forms and its linked forms represent steps, you'll want to give them unique names. The parent form in this example has three tabs used for hotel check in, dinner selection, and hotel check out.

To rename the parent step and its linked steps:

  • Click on a workflow step
  • Open the Settings tab in one of 3 ways:
    • Click the Image Modified Edit  Edit Step Properties icon on the step then click the Settings tab.
    • Click the icon in the Properties Navigator on the left side of the screen. This takes you directly to the Settings tab.
    • Click anywhere in the General Settings section of the Properties Navigator. This takes you directly to the Settings tab.
    • Type the name of the workflow step in the Name field on the Settings tab.

As with other forms you use to create steps, you can assign a linked-form step to a Role, so that the step is performed by someone with that role, or even by a specific user. In this example, we rename all three steps and assign each to a different role.

  • CheckIn is assigned to the Reservations role.
  • DiningRoom is assigned to the MaitreDHotel role.
  • CheckOut is assigned to the Billing role.


Info

The Reservations, MaitreDHotel and billing roles must exist in your tenant. Create 3 users and assign one role to each of them.

Click on a workflow step.

Open the Assignment tab in one of 3 ways:

  • Click the Image Modified Edit  Edit Step Properties icon on the step then click the Assignment tab.
  • Click the icon in the Properties Navigator on the left side of the screen. This takes you directly to the Assignment tab.
  • Click anywhere in the Task Assignment section in the Properties Navigator. This takes you directly to the Assignment tab.
  • Add the role name to the Assign to Role field. You can begin typing the role name in the field to filter the dropdown choices. Click Submit. For this example, add the Reservation role to the CheckIn step, the MaitreDHotel role to the DiningRoom step and the Billing role to the Checkout step.

You may also want only certain sections of the form to be visible in an specific step so that only users in a certain role see those sections. For example, in this workflow, perhaps only the dining room staff needs to see the form's Guest Information tab.

To do this, you can edit the the form via the Workflow Designer and use the Security Tab in the Forms Designer to assign a role to sections of the form. Click the form, and then click Image Modified Edit  Edit icon to open the form in the Form Designer.

In this example, we assign the Guest Information tab to the MaitreDHotel role.

When the workflow runs, the first step, CheckIn, is performed by a user with the Reservations role, so that user does not see the form's Guest Information tab, which is only visible to a user with the MaitreDHotel role.

The next step in the workflow, DiningRoom, is assigned to the MaitreDHotel role, so that user sees the Guest Information tab. The third step is assigned to the Billing role so the user sees the Payment Method tab.

You can also use rules to show or hide parts of a form in a step. For example you could write a Business Rule using the Visual Rule Builder to show the Guest Information tab only when a MaitreDHotel role is using the form.

...