Skip to main content

What's new in WebSphere Process Server Version 7

Introduction
==============

IBM WebSphere Process Server is a powerful software platform that enables business process management applications for your enterprise. This article covers the new features and functions available in Version 7.0, released December 11th, 2009.

In this article, you will learn about enhancements in many areas, including:

* Administration of human-centric workflow processes.
* User experience improvements.
* Installation and migration improvements.
* Support for open standards.
* Shortened development cycles.
* Productivity improvements.
* Support for updated versions of prerequisite software.

Enhanced workflow capabilities

WebSphere Process Server automates business processes, whether they are integration-centric, human-centric, or a mix of the two styles. There are several enhancements in Version 7.0 to support additional workflow scenarios.

Parallel approval

A common workflow requirement is to have two or more approvers look at the same request to "vote". In previous versions of WebSphere Process Server, you can explicitly model the parallel approvals in your process, or use a loop for multiple iterations. In Version 7.0, it is now possible to have a parallel approval with voting and result aggregation.

In this scenario, a parallel routing task is assigned to a group of users. For each assigned user, a subtask is automatically created. The output of the parallel routing task is created by aggregating the results from the subtasks.

When defining a human task, a new attribute enables you to set the ownership pattern to single or parallel, as shown in Figure 1.

Figure 1. Ownership pattern
Ownership pattern

An optional completion function is available to preemptively complete the task, even if all of the subtasks are not yet completed. For example, if a simple majority of two out of three people is needed for approval after two "yes" votes, there is no need for the additional person to perform the approval. In the task properties, the conditions for preemptive completion are defined, as shown in Figure 2. You can specify a time or a condition. Simple predefined conditions as well as the ability to define a custom condition are provided.

Figure 2. Completion properties
Completion properties

Once the subtasks have completed or the completion condition has been met, the results need to be aggregated into the output of the human task. In the human task properties, the aggregation is defined, as shown in Figure 3. Predefined functions are provided for different data types. For example, when using an int data type, the aggregation functions include average, minimum, maximum, and total.

Figure 3. Aggregation properties
Aggregation properties

In-flight changes

WebSphere Process Server V7.0 added API support to migrate in-flight processes from one version to another. Instances can be migrated, as long as all changes to the business logic are still in the future instance. For example, if a human task named ApprovalTask exists in both the old and new versions, you can migrate a process instance that is currently on that task. If the task does not exist in the new version, you cannot migrate to that process version. Version 7.0 enhances this capability by adding migration support to the Business Process Choreographer.

To migrate a process instance to a new version:
-------------------------------------------------

1. Log in to the Business Process Choreographer Explorer.
2. Click Process Instances - Administered By Me.
3. Locate the process instance you are interested in, and click the link for the process instance's name.
4. Along the top with the other actions, you will see the "Migrate" button if a process template at a newer version level is available, as shown in Figure 4. Click Migrate. The instance is migrated.

Figure 4. Migrating a process instance
Migrating a process instance

Version 7.0 also provides a rich set of functionality for changes that you can apply to a running process.

In addition to migrating versions, you can modify in-flight processes to:

* Add or remove activities
* Modify properties of an activity
* Add or remove branches and links
* Modify conditions associated with branches and links
* Modify fault handling
* Add variables
* Change Quality-of-Service properties
* Change transactional behavior or a process or its activities
* Change the deletion behavior or a process
* Reset timers
* Repair correlation sets
* Modify process instance ownership

These new capabilities enable greater flexibility for workflow processes. Authorized administrators can change a process instance "on the fly" to meet the needs of the business.

Page flow support
-----------------

Previous versions of WebSphere Process Server introduced the concept of a page flow, where you complete your work item and claim the next one in the same process, all in one single action, through the use of a new API. In Version 7.0, you can leverage this capability out-of-the box, with the default Business Space user interface.

To enable page flow support for a human task:

1. In the Process Editor, select a human task.
2. In the Properties tab, click the Environment tab.
3. Add a custom property by clicking the Add button. Specify htm.hasNext for name, and true for value, as shown in Figure 5.

Figure 5. Custom property for human task
Custom property for human task

When the process is deployed, this property tells the runtime engine that this task is to be used in a page flow. At runtime, when you are working on the human task, the Task Information widget has a Next button rather than the normal Submit button, as shown in Figure 6. Clicking the Next button calls the completeAndClaimSuccessor API, going directly to the next human task in the flow.

Figure 6. Page flow
Page flow

Accept next available task

In a traditional workflow, a person decides what to do next by selecting a task from a list. In some cases selecting the task is looked at as a wasted step, since the person might need to always select the newest task, highest priority, or by some other sorting method. In other cases, you may not want to let the user decide what to do next, so they do not just "cherry pick" the easiest tasks. To support these scenarios, the Task Information widget has a new setting to accept the next available task, as shown in Figure 7. When you enable this option, you can select which task list to retrieve the next task from, and select the order in which to get the next task. Now the user saves a step by having the system automatically get the next task for them in their preferred order.

Figure 7. Task information settings
Task information settings

Variables

In some cases, it is required to initialize variables before they are used in a process. In previous versions of WebSphere Process Server, you use a BPEL Assign activity or a Java™ snippet to initialize variables. In Version 7.0, you can specify a default value in the properties for each variable, as shown in Figure 8.

Figure 8. Assigning a default value
Assigning a default value

When using an Assign BPEL activity, you can use new option called "Value Composer" to select from the list, as shown in Figure 9.

Figure 9. Selecting the Value Composer
Selecting the value composer

The Value Composer enables you to enter values for a complex or simple type. You can either use the Value Composer shown in Figure 10, or you can select the radio button to use the XML editor. The Value Composer is available for Assign activities as well.

Figure 10. Value composer
Value composer

Query table

WebSphere Process Server has a feature called Query Table that improves performance for large deployments. If there were hundreds of thousands of human tasks, it takes some time for the database to refresh a work list or find a particular human task instance. You can use query tables to speed things up.

A developer can create a query table definition using the Query Table Builder tool. The administrator then deploys the query table definition onto the server. The query tables are then used by the Human Task Manager APIs, specifying the query table to use, as shown in Listing 1.

Listing 1. Query table API example

// retrieve HTM EJB
InitialContext context= new InitialContext();
Object object = context.lookup("com/ibm/task/api/HumanTaskManagerHome");
HumanTaskManagerHome htmHome = (HumanTaskManagerHome)
javax.rmi.PortableRemoteObject.narrow(object,
HumanTaskManagerHome.class);
HumanTaskManager htmEJB = htmHome.create();

// claim task
FilterOptions filterOptions = new FilterOptions();
filterOptions.setThreshold(20); // claim within the first 20 entries

ClaimResult result = htmEJB.claim("CUSTOMER.HIGHTHROUGHPUT", // use this qtd
filterOptions, // pass filter
null, // current user
null, // no parameters to provide
10); // 10 retries


Enhanced substitution

Substitution support has been enhanced to support a new pattern: a temporary absence defined by a time interval. Rather than having to mark someone as absent, then having to mark them as being back, you can use this new pattern. The Business Process Choreographer (BPC) Explorer has been updated to support this new function.

Back to top

Business Space enhancements

Business Space powered by WebSphere is the Web 2.0 user interface, which all of the WebSphere Business Process Management (BPM) products use. Each product provides a set of widgets, which plug in to Business Space. In WebSphere Process Server V7.0, there are a number of enhancements to Business Space.

Human workflow

In addition to the existing workflow widgets (Human Workflow Diagram, Task Definitions List, Task Information, and Task List), there are three new widgets in Version 7.0:

* Escalations List
* Task Information
* Human Workflow Diagram

In the Escalations List widget, you can view or start any escalations you are authorized to access, as well as check any escalations assigned to you. Escalations can be filtered using the menu and column headers. Figure 11 shows the Escalations List. The highlighted pulldown menu has options to browse all escalations, manage escalated tasks, or to escalate a task, even if the timer has not yet been reached. As a default, the Escalations List widget is wired to the Task Information widget. Clicking the Open the task icon brings up the escalation information in the Task Information widget, if you sent the notification as a work item.

Figure 11. Escalations List
Escalations List

The process definitions list displays a list of process templates, as shown in Figure 12. Click Open the process definition to display the process definition in another widget, such as the Human Workflow Diagram widget.

Figure 12. Process Definitions List
Process Definitions List

The processes list displays a list of process instances that have been started, as shown in Figure 13. You can open the process by clicking the icon at the right, or by selecting the process, then clicking Open.

Figure 13. Processes List
Processes List

As with previous versions of Business Space, you can click to the right of a column header, then select the up or down arrow to sort. In a production environment where the number of processes in the list is quite extensive, it is helpful to not just sort, but also to filter the list. A new feature in Version 7.0 filters the lists in the Business Space widgets. To set a filter, fly over the left-hand side of a column header. The filter icon appears, as shown in Figure 14. You can select it, then enter your filter. You do not need a wildcard. If you want all process names starting with "Pr", you simply enter "Pr" as your filter. The list will now show only the items that match the filter criteria.

Figure 14. Set a filter
Set a filter

Solution administration widgets

In previous versions, Business Space was targeted primarily for business users. Version 7.0 adds new capabilities for solution administrators, with several new widgets that enable them to create solution management spaces using out-of-the-box templates.

The Module Administration widget displays a view of a deployed module, similar to the layout in WebSphere Integration Developer, as shown in Figure 15. You can view and update module properties, as well as module policies created through WebSphere Service Registry and Repository. The status of the service control points can be viewed through this widget as well.

Figure 15. Module administration widget
Module administration widget

The Business Calendars widget is used to administer and manage time tables. You can create or delete events in the timetables. The Security Roles widget as shown in Figure 16, enables the solution administrator to manage system and module roles, assigning users to the roles of BPMAdmin and BPMRoleManager.

Figure 16. Security Roles widget
Security Roles widget

Service administration widgets

A new set of widgets enables service administration. The Service Monitor widget monitors service response times and throughput in a graphic chart, as shown in Figure 17. You can configure statistics to be provided using operations, such as mean, min, and max, time periods of one second or one minute, or since the monitoring started. You can also compare monitoring data sets.

Figure 17. Service Monitor widget
Service Monitor widget

Store and Forward is a new quality of service available in WebSphere Process Server V7.0. Two new widgets are used to manage the store and forward of messages sent to a target service. The Store and Forward widget lists all service points with this quality of service enabled, while the Store and Forward Details widget is used to view and manage the endpoints themselves. In the case of service failures, the service requests are stored. Administrators can resubmit the stored requests. This feature enables easier migration for WebSphere Interchange Server users.

Module Health widget

A new Module Health widget is provided to monitor the health of your modules and to diagnose any problems. You can view and act on information about your environment and topology. A multi-tabbed interface enables you to view information about your system. The Topology tab shows the status of deployment environments, clusters, and stand-alone servers, as shown in Figure 18.

Figure 18. Topology
Topology

The System Components tab shows the status of server, Business Space, and BPC and SCA components, as shown in Figure 19.

Figure 19. System Components tab
System Components tab

The System Messaging Engines tab shows the status of your messaging engines. The Queues tab shows the status, depth, and utilization of queue points defined to your messaging engines, as shown in Figure 20.

Figure 20. Queues tab
Queues tab

The Data Sources tab shows the health of database data sources. The Failed Events tab shows any failed events in the system. You can sort any column in any of these new widgets by clicking on the column header.

These new widgets enable administrators to access information about the health of the system, which was previously only available from the administration console. Instead of navigating through dozens of screens, it is now consolidated into a single view.

System Health widget

The new System Health widget monitors the health and status of your deployed integration modules, enabling you to quickly diagnose problems. Whereas the Module Health widget previously discussed drills into the health of a particular module, this widget looks at the health of the overall system. A multi-tabbed interface is used to drill down to see information. Server and cluster status is displayed in the Topology tab. Application status is shown in the System Applications tab. The Applications tab shows information about deployed applications, as shown in Figure 21. Information about queue points is displayed in the Queues tab.

Figure 21. System Health widget
System Health widget

Other Business Space updates

Existing widgets have been improved for ease of use, with less configuration required out-of-the-box. Business Space is now based on Lotus Mashups 2.0, enabling greater interoperability with existing widgets. Widgets created for Business Space Version 7.0 can now run in WebSphere Portal Server Version 6.1.5.

Comments

adsrerrapop

Popular posts from this blog

IBM Websphere MQ interview Questions Part 5

MQ Series: - It is an IBM web sphere product which is evolved in 1990’s. MQ series does transportation from one point to other. It is an EAI tool (Middle ware) VERSIONS:-5.0, 5.1, 5.3, 6.0, 7.0(new version). The currently using version is 6.2 Note: – MQ series supports more than 35+ operating systems. It is platform Independent. For every OS we have different MQ series software’s. But the functionality of MQ series Default path for installing MQ series is:- C: programfiles\BM\clipse\SDK30 C: programfiles\IBM\WebsphereMQ After installation it will create a group and user. Some middleware technologies are Tibco, SAP XI. MQ series deals with two things, they are OBJECTS, SERVICES. In OBJECTS we have • QUEUES • CHANNELS • PROCESS • AUTHENTICATION • QUERY MANAGER. In SERVICES we have LISTENERS. Objects: – objects are used to handle the transactions with the help of services. QUEUE MANAGER maintains all the objects and services. QUEUE: – it is a database structure

IBM Websphere MQ Reason code list / mq reason codes / websphere mq error codes / mq error messages

Reason code list ================= The following is a list of reason codes, in numeric order, providing detailed information to help you understand them, including: * An explanation of the circumstances that have caused the code to be raised * The associated completion code * Suggested programmer actions in response to the code * 0 (0000) (RC0): MQRC_NONE * 900 (0384) (RC900): MQRC_APPL_FIRST * 999 (03E7) (RC999): MQRC_APPL_LAST * 2001 (07D1) (RC2001): MQRC_ALIAS_BASE_Q_TYPE_ERROR * 2002 (07D2) (RC2002): MQRC_ALREADY_CONNECTED * 2003 (07D3) (RC2003): MQRC_BACKED_OUT * 2004 (07D4) (RC2004): MQRC_BUFFER_ERROR * 2005 (07D5) (RC2005): MQRC_BUFFER_LENGTH_ERROR * 2006 (07D6) (RC2006): MQRC_CHAR_ATTR_LENGTH_ERROR * 2007 (07D7) (RC2007): MQRC_CHAR_ATTRS_ERROR * 2008 (07D8) (RC2008): MQRC_CHAR_ATTRS_TOO_SHORT * 2009 (07D9) (RC2009): MQRC_CONNECTION_BROKEN * 2010 (07DA) (RC2010): MQRC_DATA_LENGTH_ERROR * 2011 (07DB) (RC2011): MQRC_DYNAMIC_Q_NAME_ERROR * 2012 (07DC) (RC201

IBM WebSphere MQ – Common install/uninstall issues for MQ Version on Windows - Middleware News

Creating a log file when you install or uninstall WebSphere MQ WebSphere MQ for Windows is installed using the Microsoft Installer (MSI). If you install the MQ server or client through launchpad , MQPARMS or setup.exe , then a log file is automatically generated in %temp% during installation. Alternatively you can supply parameters on the installation MSI command msiexec to generate a log file, or enable MSI logging system-wide (which generates MSI logs for all install and uninstall operations). If you uninstall through the Windows Add/Remove programs option, no log file is generated. You should either uninstall from the MSI command line and supply parameters to generate a log file, or enable MSI logging system-wide (which generates MSI logs for all install and uninstall operations). For details on how to enable MSI logging, see the following article in the WebSphere MQ product documentation: Advanced installation using msiexec For details on how to enable system-w