Page History: Web Part: Jetfire Workflow Editor
Compare Page Revisions
Page Revision: 2009/07/18 22:27
Workflow Editor Web Part
The Workflow Edit Web Part is a generic property editor, complete with commands and state display.
Web Part Features
Features of the Web Part include:
- Works in conjunction with a Workflow Configuration Xml file to display properties. If the Workflow Configuration Xml file is not found, then displays the Properties on a best guess basis.
- Using the Workflow Configuration Xml file, displays Properties according to the type of Form Element specified. In the example,
- The On Loan To and Name properties are displayed in a Text Box. This allows modification of the property.
- The Description property is displayed in a multi-line Text Box. This allows modification of the property.
- Timestamps are displayed as a read-only property.
- The Notes of the Workflow are displayed in a tree view (none shown here). An action method is used to add a note to the workflow. (See Workflow Commands Part.)
- The Tags of the system are displayed in a Drop Down List. The Tags associated with the Workflow are displayed in the tree view. Tags are added to the Workflow by selecting one from the Drop Down List. Tags are removed from the Workflow by selecting the Remove action from the tree view.
- Optional display of the state and user commands.
- A custom display of the Workflow is achieved using a combination of the Workflow Configuration File, Css Classes from the Style Sheet and custom labels.
- A Jetfire method is invoked when the workflow is saved.
Editor for the Workflow Editor Web Part
Edit Properties of the Web Part
The Web Part may be edited. It has the standard properties of a Jetfire Web Part. Additional custom edit properties include:
- Property Display - select the properties that you wish to see displayed
- Workflow Config File - used when Property Display = WorkflowConfig. This is the Workflow Configuration File that contains the Properties and display characteristics.
- Field Names - Used when Property Display = Auto. This is a list of Property Names, each name is separated by a comma. If the Field Names are blank, then the Property Display uses the Workflow Configuration File identified in the application settings of the web.config file. If the workflow is not present in this Workflow Configuration File, then all properties in the workflow are displayed.
- Field Display Names - Used when Property Display = Auto. This is a list of Property Display Names, each name is separated by a comma. The display names are displayed to the user.
- Required Fields - Used when Property Display = Auto. This is a list of Required Property Names, each name is separated by a comma. If a field is marked as required, the workflow is not saved until the required fields are added.
- Label Css Class - The cascade style used for labels in the control.
- Classes - (optional) Workflow Classes that may be created.
- Display Names - (optional) the names displayed to the user for Workflow Classes that may be created.
- Display Type – Link, Button or Strip style for the commands displayed in the Web Part.
- Button Css Class – the cascade style used for Button or Strip.
- MouseOver Css Class – the cascade style used for Button or Strip when the Mouse hovers over the command.
- Selected Css Class - the cascade style used for Button or Strip when the button is selected.
- Orientation (Vertical, Horizontal) - used for Workflow Classes.
- Spacing - between hyperlinks.
- Command Display - display Commands and States, Commands only, State only or no Commands or States.
- Command Names - a list of commands that are allowed to be displayed.
- Command Display Names - names that displayed to the user for a list of commands.
- Save Method - the Jetfire method that is invoked when the Workflow is saved. e.g. the Save Method can update properties, such as 'LastUpdated'.
- Edit Controls Length – The width of the control.
- Show Workflows in List - if checked, displays the workflows in lists of the parent workflow.
- Jetfire Common Edit Properties