Description of functions and tools for managing service, contract, and policy workflow definitions.
Note: Policy Workflow Administration is available in Policy Manager 7.2 and greater.Workflow Library Workflow Portlets Workflow Developers Guide
Table of Contents
- Default Workflow Definitions
- Workflow Library
- Workflow Portlets
- Workflow Management Functions
Policy Manager Workflow functionality is part of the overall Governance that an organization needs to have over their Service Oriented Architecture Infrastructure (SOA). Workflow allows an organization to assign users to a role that provides oversight for the services that are submitted by the development community. Through the approval or rejection of service candidates and provisioning contracts, the organization can manage the quality of the services that are published in the repository. Workflow also provides an auditable record of the submission and approval of a service which is essential for corporate compliance to standardized business processes that involve lifecycle management (e.g., ISO, CMM, etc.).
Workflow is supported for service publication, contract management, and policy management via the Configure > Workflow section of the Policy Manager Management Console.
- Service publication workflow manages the process from service creation to service publication.
- Contract management workflow manages the process from contract creation to contract activation/deactivation/archive.
- Policy management workflow manages the process from policy creation to policy activation/archive.
Workflow provides the following key benefits:
- Quality of Services - Utilizing Workflow functionality improves the quality of the services in the SOA
Infrastructure defined in Policy Manager and therefore its overall reusability. Administrators can now easily manage and control what services are added to the "Registry"and the state of the services.
For example, controls could be in force to manage duplicate services, granularity of services, appropriateness of services based on business focus, level of specialization, etc. Administrators can also negotiate contracts with consumers and execute these
- Automates the compliance processes in the organization, thereby lowering the cost of compliance and minimizing the paperwork burden.
A "Workflow Definition" is an XML file that defines the business processes (i.e., actions, steps, processes) for all services or contracts. The Policy Manager default installation installs three default Workflow definitions for services (default_service_workflow.xml), contracts (default_contract_workflow.xml), and policies (default_policy_workflow.xml).
- Default Workflow Definitions are hard coded into the Policy Manager back-end to facilitate Workflow "Reset" and are also copied to the \config\workflow_definition_templates folder of the Policy Manager release directory.
- Custom Workflow Definitions can also be stored in this directory.
- The default workflow definitions provide standard workflow processes for service, contract, and policy management and serve as a tutorial for understanding the construction of a workflow definition, and the elements of the Workflow Library.
See Default Workflows for more information.
The Policy Manager Workflow Library provides a complete workflow system that includes a set of built-in functions, conditions, and variables to simplify the process of writing a workflow definition for performing service, contract, and policy management in the Policy Manager Workbench. These elements can be used along with other existing functions/conditions/variables provided by OSWorkflow.
Refer to the OSWorkflow documentation for more information on OSWorkflow concepts.
The Workflow Library is composed of the following elements:
- Workflow Variables
- Workflow Functions
- Workflow Conditions
In addition, the Policy Manager 6.1/7.x Workflow Developers Reference includes information on how to use scripts in workflows, and perform workflow actions and load workflow XML definitions using command-line tools.
Workflow Portlets are allow you manage service, contract, and policy workflow tasks in the globally in the root organization, or for each object on the Details page. See Workflow Portlets for more information.
Workflow Management Functions
The following workflow management functions apply to all service, contract, and policy workflow definitions in the Configure > Workflow section of the Policy Manager Management Console.
The Workflow Administration Summary screen is the starting point for performing service, contract, and policy workflow administration. Here you can Enable Workflow, Update Workflow, and Disable Workflow.
The first time you navigate to the Workflow Administration Summary screen for services, contracts, or policies after installing Policy Manager, the Workflow state is enabled.
- This means that the workflow functionality is active and the default workflow definitions for services, contracts, and policies are uploaded.
- The default workflow definition XML files (default_service_workflow.xml, default_contract_workflow.xml, default_policy_workflow.xml) are located in the config\workflow_definition_templates folder of the Policy Manager release directory.
- Currently Disable Workflow is only supported Services Workflow, so this option will only show on the Services Workflow Administration screen when the workflow is disabled.
You can maintain your workflow configuration using the Update Workflow function. This option is used if you have workflow functionality enabled, and would like to upload a custom workflow definition or reset your configuration to the Policy Manager default workflow definition. After you upload an XML file:
- The workflow definition and reset option are executed by the Policy Manager Workflow engine.
- Processes defined in the XML file are active and can be viewed in the Workflow Control Portlets (for services, contract, and policies), and on the Global Workflow Task Portlet that displays at the Root Organization and Sub Organization levels.
- This function also provides an option for resetting your workflow definition to back to the system default.
View Workflow Definition
The View Workflow Definition function screen launches a browser window that displays the contents of the workbench definition XML file that is currently active for services, contracts, or policies. The file header includes the workflow definition name and a brief description.
Note: The display of XML is not supported in all browsers. In these cases, click Save to download the XML file and view it locally.
The Disable Workflow option turns off the Policy Manager "Workflow" functionality and removes the uploaded workflow definition from the configuration.
This option removes the workflow definition from the Policy Manager data repository so it is no longer associated with the "Workflow" configuration. It does not delete the workflow definition XML file from the disk.
After workflow is disabled, the state changes on the summary screen.
Note: This option is only supported for the services workflow.