Versions Compared

Key

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

Table of Contents

This page discusses the various types of workflow steps available in in frevvo, as well and when and how to use them.

...

New Form

The Add Step wizard allows you to create a new form directly inside the Workflow Designer. It will come with a My Info section that contains several commonly used controls, and a business rule that autofills those controls with the logged in user's information. 

  1. Select Step Type "New Form".
  2. Provide a Step Name (this will also be the Form Name). If you do not add a name, will  frevvowill generate a unique and arbitrary name, i.e. Step 29. You can change the name in the Step Properties: Settings tab.
  3. Choose an Assignment Type.

...

Info

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. See Linked Steps vs. Separate Forms below.

Create a Linked/Approval Step

...

  1. Select Step Type "Approval" (comes with approval sections and rules) or "Linked" (does not add any controls or rules).
  2. Give the step a name; if you do not provide a name,  will  frevvo will automatically name it <Parent Step Name> Copy.
  3. Select an Assignment Type.

The new step will appear on your workflow diagram and the Step Properties will open on the page. The Step Name and "Linked from: <Parent Step Name>" are listed above the Step Properties wizard.

Image RemovedImage Added

Linked Steps Workflow Example

Approval workflows lend themselves to a Workflow Design pattern that uses Linked Steps. Any changes made to the parent form propagate to the linked steps. The  The frevvo Workflow Design Wizard is ideal for creating workflows with linked steps.

...

  1. Select Step Type "HTTP Wait-Notify".
  2. Optionally, add a Step Name. If you do not add a name, will  frevvowill name the step "HTTP".

The new step will appear in your workflow, and the HTTP Step settings wizard will open on the page.

...

  • Click on the HTTP step and open the Settings tab. Enter the URL for your post. In the image below, we are entering the URL to a remote test server running a service that can be used to test this feature: 

    Code Block
    httphttps://<server>:<port>app.frevvo.com/services/testtestyanf


  • Configure Email or a post to a web application if required. These actions will be performed when the HTTP step is completed. 

...

This URL is used by the remote service to “wake” up the frevvo workflow. Any document actions configured will be performed and the frevvo workflow will resume. Workflow visibility can be set to any of the choices. 

You cannot reset a workflow to an HTTP step. Look for a status of WAITING in the Audit Trail to find HTTP steps in a workflow that are in a suspended state. 

...

The Summary step type will simply display a summary view of all the data that has been entered into the various steps of the workflow prior to the Summary step at runtime. Clicking on the Details button navigates to the selected step for viewing/editing. The designer selects the fields that display on the Summary Step in the Guided Design:Settings mode Summary Fields tab.

To add a Summary step, click the + icon in the place you want to add the step. This launches the Add Step wizard.

  1. Select Step Type "Summary"
  2. Optionally, add a Step Name. If you do not add a name, will  frevvo will name the step "Summary".

The new step will appear in your workflow, and the Summary Step settings wizard will open on the page.

Previously completed steps in a workflow can be viewed by all users but editing data is only allowed for the user that initiated the workflow. For example, if the Summary step is part of a screenflow performed by the same user, editing is allowed when this user clicks on the Details button. Once the workflow navigates to a different user, previous steps are rendered read-only and cannot be edited. Refer to Workflow Processing Modes for more information.

The Print button is available on Summary steps by default. Refer to Printing Workflows for the details. The designer can specify a CSS class, a Button label and a Decorator for the Summary step on the Settings property tab.

Existing Forms 

You can also add a form you have already created and which is listed in your current project's forms home page. Adding an existing form to the workflow creates a copy of that form. If you later edit the standalone form, those changes will not affect the step in the workflow. It remains as it was at the time you copied it into the workflow. If you want to update the workflow to have a new copy of the form, delete the step from the workflow and re-add the updated form.

...

Workflows where one form gets routed to a lot of people and they all have to work on it collaboratively, typically use the Linked steps approach.

Note

There are several design paradigms for workflows that you may want to consider depending on your workflow requirements. You can find examples of each type here.

...

One common design pattern is a workflow with multiple separate forms where you want data entered on one form to be visible on another form. In this case, the  natural the frevvo natural behavior of merging data based on Control Name is very helpful. If you have a control with the same name (and, if applicable, nested section name) on Form A and Form B, data entered on Form A will be visible on Form B. However, if the value is edited on Form B, the two values (one from A and one from B) will merge  the new value will overwrite the original value in the final submission, so a . A best practice is to disable the control on Form B making it read-only. Please review the Form Control Names & Schemas section below for additional details.

...

When you create a workflow,  creates frevvo creates an XSD schema of the workflow that combines all the fields in all the forms in the workflow.

...

When designing the forms you want to use in a workflow, be aware that if controls in different forms have the same name, their data will merge in the XML document that  generates frevvo generates when the workflow runs and is submitted. While the Form Designer automatically prevents you from giving two controls the same name within the same form, it doesn't prevent you from giving controls in different forms the same name.

For example, suppose one or more forms in a workflow have a text control named FirstName. On one form, this might be an employee's first name; on another, it might be a manager's or customer's first name. When the workflow runs and is submitted, the two first names will merge the last data entered in the control will be saved in the resulting XML file, overwriting any previously entered data. To avoid this, you should give the fields unique names — such as EMPFirstName' or MGRFirstName' — so they'll be separate elements in the workflow's XSD schema and separate pieces of data in the submitted workflow's XML file.

...