Workflow Configuration File for Web Design

Modified on 2017/05/09 20:59 by Charles — Categorized as: GUI, Website Design


Workflow Configuration File for Web Design

A snippet of the Jazz Workflow Configuration File is the figure shown below. This file is defined by the Website Designer in conjunction with the Workflow Designer.

The Jazz Workflow Configuration File is read by the Jazz Web Parts to produce a custom appearance on the GUI. Display characteristics include:
Jetfire Workflow Configuration File

The Xml File

The xml file is a complete description of how the Workflow should be displayed on the GUI. This includes:

Properties

Display characteristics for Properties include:

Methods

Display characteristics for Methods include:

States

Display characteristics for States include:

Headings

Headings are used in table-based displayes. Display characteristics for Headings include:

Inherited Workflows

Website Designers take great care to create pages with consistent labels. The Inherited Workflow is reference to a common definition of display characteristics that may be used by multiple workflows in the Workflow Configuration File. e.g. the Name property is included in every workflow. Most workflows use this property to denote the name of the workflow being described. The display characteristics of the Name property can be reinforced in the GUI by using an inherited workflow that defines those characteristics.

The Inherited Workflow is also used to define reports.

Filters

Filters are used to request that workflows of interest be displayed. Filters in the Workflow Configuration File perform the same task for Reports.

The basic filter characteristics include:
Some Filter Examples



Format data for the user

As noted above, the Format property in the workflow configuration file is used to format text for the user. Here are the conventions used in Jazz models for data outputs.

Property TypeFormat codeOutput
stringHyperlinkDisplay a hyperlink for the text. This is useful for map links.
stringCamelEach word or abbreviation in the middle of the phrase begins with a capital letter, with no intervening spaces or punctuation
stringRemoveSpacesRemove spaces from any text
stringPhoneConvert to phone format, e.g. 1-503-555-1212
integer{0:dd}
doubleCurrencyDisplays: $16,325.62
doubleCDisplays: $16,325.62
doubleGDisplays: 16325.62
doubleNDisplays: 16,325.62
double0,0.000Displays: 16,325.621
decimalCurrencyDisplays: $16,325.62
decimalCDisplays: $16,325.62
decimalGDisplays: 16325.62
decimalNDisplays: 16,325.62
decimal0,0.000Displays: 16,325.621
long{0:(###) ###-####}Convert to phone format, e.g. 1-503-555-1212
boolYesNoDisplays true/false as Yes/No
boolOnOffDisplays true/false as On/Off
DateTimeOffsetddd, MMM d, yyyy h:mm ttWed, Apr 21, 2009 1:42 pm
DateTimeOffsetddd, MMM d, yyyy HH:mmWed, Apr 21, 2009 13:42
DateTimeOffsetyyyy-MM-dd-HH-mm-ss2009-04-21-13-42-02
DateTimeOffsetddd, MMM d, yyyyWed, Apr 21, 2009
DateTimeOffsetMMM d, yyyy
DateTimeOffsetyyyy'-'MM'-'dd HH':'mm':'ss'Z'2009-04-21 13:42:30Z
DateTimeOffsetHH:mm13:42
DateTimeOffseth:mm tt1:42 pm
DateTimeOffsetTodayDisplays today's date
DateTimeOffsetNowDisplays the current time
DateTimeddd, MMM d, yyyy h:mm ttWed, Apr 21, 2009 1:42 pm
DateTimeddd, MMM d, yyyy HH:mmWed, Apr 21, 2009 13:42
DateTimeyyyy-MM-dd-HH-mm-ss2009-04-21-13-42-02
DateTimeddd, MMM d, yyyyWed, Apr 21, 2009
DateTimeMMM d, yyyyApr 21, 2009
DateTimeHH:mm13:42
DateTimeh:mm tt1:42 pm
DateTimeTodayDisplays today's date
DateTimeNowDisplays the current time
TimeSpanDaysDisplays 1.2 days
TimeSpanHoursDisplays 23 hours
TimeSpanMinutesDisplays 5 minutes
TimeSpanDaysHoursMinutesDisplays 1 day, 23 hours, 5 minutes
TimeSpanHoursMinutesDisplays 23 hours, 5 minutes
string collection;a ';' delimited list of strings
int collection;a ';' delimited list of integers
ColorName of the Color

Jazz Applications

Types of Jazz Web Parts that use the Jazz Workflow Configuration file include:

Roles and the Workflow Configuration File

Roles are used to create different views of properties and methods.

The inclusion of properties, methods and states in the Workflow Configuration file does not mean that the user will see the information. Rather, the Workflow Configuration file contains display characteristics for how the information is displayed if the user has access to the information.

Workflow Editors

A number of Workflow Editor Web Parts display properties. The Workflow Configuration File is used to create a data-driven highly-customized GUI. Workflow Editors display properties, methods and states.

Table-based displays for properties

A number of Table-based Display Web Parts display properties. The Workflow Configuration File is used to create a data-driven highly-customized GUI. Table-based displays display properties and headings.

Workflow Reports

The Reports application uses the Workflow Configuration file to define user reports. The figure shown below shows how reports are defined.

Reports are typically defined by two entries in the Workflow Configuration File:
  1. The Report filters for the Workflow
  2. The Display properties Workflow

The Report Workflow defines the name of the Report and the Filter characteristics. In the example file shown below, the report workflow is Name="OawaContact.SeniorF". The label displayed in the Reports Web Part is "Senior Female". The filters are defined to look for Oawa Contact that have Gender = "Female" and Rate = "Senior". The Inherited Workflows contains a reference to OawaContact, which is the Displayed Workflow.

The Displayed Workflow contains the display characteristics for the Report Workflow. By separating the display characteristics from the report characteristics, the Display Workflow may be inherited by multiple Report Workflows, thus creating a consistent look and feel for the GUI.

Jazz Workflow Configuration File for Reports

Rules

Rules