Processes
About Processes
A process is the top-level asset in a process project. It contains steps and logic; and it is the asset that is ultimately built and executed in the Process Engine and uploaded to the Process Audit Database for analysis. Processes can be started in many different ways, including using rules and services.
A process can invoke a rule, of course, but a rule can also invoke a process. Designer 8.2 and later contains new functionality to support BPMN 2.0, including new ways to represent your processes in a more visual and logical language. Activities are things that are done. Events are things that happen. Those are the first concepts you need to understand. See About Activities and About BPMN Events.
.config file
associated with the
.process file. It is
recommended that you manage the process using the Solutions view, which
automatically handles these two files together. See
About the Solutions View.
BPMN processes can be designated as callable. A BPMN callable process has a defined input / output signature, known as a Global Process Specification, and can be called by a call activity step. Call activities can also call webMethods referenced processes. For more information, see Call Activity Concepts.
You can open older Designer processes created with Designer 8.1 and earlier with later versions of Designer. Some changes are applied to ensure compatibility with BPMN. For a reference of those changes, see Legacy Processes and BPMN.
About Process Development Modes
About this task
The Process Development perspective supports two modes of operation, the Business Analyst mode, which provides a limited amount of information and capability, and the Process Developer mode, which provides full information and capability.
When you first open the Process Development perspective, the Business Analyst mode is enabled by default. In Business Analyst mode, the Process Development perspective displays only basic properties in the Properties view, basic preferences in the Preferences window, and basic functions on the tool bar. To see advanced properties, preferences, and functions, you must select the Process Developer mode, as described in Configuring the Process Development Mode.
The Business Analyst mode provides a streamlined set of features and functions that enable the business analyst to create business process models without the distraction of the more advanced process development functionality. If you are a process developer, you will most likely want to work exclusively in Process Developer mode. You can move back and forth between the two modes at any time and as often as you want.
Throughout this documentation, the properties that appear in the Properties view in the Process Developer mode are referred to as advanced properties, and the properties displayed in the Business Analyst mode are referred to as basic properties.
Legacy Processes and BPMN
|
About BPMN Process Steps
The following table describes the BPMN Designer steps.
|
Creating a Process
About this task
To create a process
Procedure
Configuring a Process
About this task
Each process has a number of basic and advanced properties that you can configure, in addition to the properties you can set for steps, transition lines, pools, swimlanes, and other process components.
To configure a process
Procedure
Updating Process Model Versions
In Software AG Designer, you can modify an existing process model and create a new version of the model. You can then build and upload the new version, and then enable it for use. In doing so, you can update any or all of the currently running instances of that model so that they start using the newer version. For more information, see these topics:
- Working with Process Versions.
- “Updating a Process Instance to a New Model Version” in the PDF publication webMethods Monitor User’s Guide.
- “Enabling and Disabling Process Model Versions” in the PDF publication webMethods Monitor User’s Guide.
Troubleshooting a Process
When you develop a new process model, there may be times when the process does not execute as expected, and you want to find out why. Similarly, an existing process model may suddenly begin to behave in an unexpected manner, and you want to know why. The Process Engine provides you with the ability to gather troubleshooting information in the following ways:
- You can collect a package of comprehensive process information for troubleshooting purposes. For more information, see the chapter “Collecting Process Troubleshooting Information” in the PDF publication Administering webMethods Process Engine.
- You can collect logging information, as described in Process Logging Behavior.
You can use this information for your own troubleshooting efforts, and you may be asked to provide either or both of the above to Software AG Global Support if you have opened a support issue.
In addition, you can take advantage of other means of examining process instance runtime results in webMethods Monitor. With proper logging settings, you can examine the process instance pipeline, modify the pipeline, and resubmit a process instance. The Process Details page provides a great deal of information about the process instance, including a graphical representation of the process annotated with step statuses. For more information, see the “Process Monitoring” chapter of the PDF publication webMethods Monitor User’s Guide.
Basic Process Properties
The following table describes the basic process properties.
|
Advanced Process Properties
The following table describes the advanced process properties.
|
About Synchronizing Process Runtime Settings with webMethods Monitor
You can create, modify, and delete stage, EDA (deprecated) event, and step enablement runtime settings in two locations:
- In Software AG Designer, on the Stages page in the Property view, and on the Runtime page in the Property view.
- In webMethods Monitor, as part of the Business Process administration functionality. For more information, see the chapter “Working with Process Models” in the PDF publication, webMethods Monitor User’s Guide.
In both cases, any changes to these runtime settings in a process model can be saved to the Process Audit database. The saved changes overwrite whatever previous setting information was present in the database. As a best practice, you should ensure that your runtime settings are always synchronized between the two locations.
For Designer, the following conditions apply:
- When you open a process in Designer, it retrieves the runtime settings saved with the model in the local workspace.
- When you click the Synchronize button on the Stages page in the Property view, or in the Runtime Editable Properties section of the Runtime page in the Property view, Designer retrieves the runtime settings from the database and applies them to the process model. Saving the process model saves the settings to the local workspace.
- When you build and upload a process in Designer, the runtime settings in the model are written to the Process Audit database, overwriting whatever settings are stored there and applying those changes to the runtime environment. In addition, a warning message is recorded in the build and upload report.
Therefore:
- If you want your process model in Designer to display the current database runtime stage settings, you must click the Synchronize button on the Stages page of the Property view. For more information, see Synchronizing Stage Settings.
- If you want your process model in Designer to display the current runtime EDA (deprecated) event emission and step submission enablement values, you must click the Synchronize button on the Runtime Editable Properties section of the Runtime page in the Property view. For more information, see Enabling and Disabling Predefined EDA Event Emission for a Process Model.
- If you want your process model runtime
settings in
Designer to be written to the database, click
to build and upload the process model. This
overwrites whatever settings are stored in the database, and the setting are
applied to the runtime environment.
To help ensure that you are working with the latest settings, you are advised to click the appropriate Synchronize button immediately before you modify and save these settings.
Deleting a Process
About this task
To delete a process
Procedure
Printing a Process
About this task
To print a process
Procedure
Saving a Process Image
About this task
To save a process image
Procedure
Copying a Process
About this task
You can copy an open process and save it with a new process name. The source process retains its mapping services, while the new target process has no mappings.
To copy a process and save it with a new name
Procedure
Using E-forms in a Process
About this task
Designer supports the use of Microsoft InfoPath and Adobe LiveCycle e-forms in processes. Both receive tasks that start processes and those that do not start processes can use e-forms. Message and signal start events can use e-forms to start processes. Message and signal intermediate events -- boundary and top-level -- can also use e-forms.
E-forms are created from templates; those templates contain information required by the process using the e-form. When an e-form is used in a process, it is an instance of that e-form. E-form templates and e-form instances both need to be accessible to the process, and it is important that each has a separate location.
To use an e-form in a process
In Designer, do one of the following:
-
Drag and drop an existing e-form sourced IS document from the Package Navigator view onto the process editor to create a message start event pre-configured to use an e-form. The E-form (For E-form Triggered Processes) check box is automatically selected, and the E-form Template Name field is automatically populated. You must select the E-form Content Repository location.
OR
-
Drag and drop an existing e-form sourced IS document from the Package Navigator view onto an existing receive task, message / signal start event, or message / signal intermediate event (including boundary events) to configure it to use an e-form. The E-form (For E-form Triggered Processes) check box is automatically selected, and the E-form Template Name field is automatically populated. You must select the E-form Content Repository location.
OR
- Manually configure an existing receive task, message / signal start event, or message / signal intermediate event (including boundary events) to configure it to use an e-form. You must select the E-form (For E-form Triggered Processes) check box. The E-form Template Name field is automatically populated when you select an e-form sourced IS document as the step's Receive Document. You must select the E-form Content Repository location.
Configuring E-forms in a Process
About this task
To manually configure an e-form
Procedure
Selecting an E-form Content Repository
About this task
To select an E-form Content Repository
- On the Implementation page in the Properties view of a receive task or message start event, click Browse... to select a configured content repository as the e-form's E-form Content Repository.
Software AG Designer's e-form solution works with My webMethods Server as the e-form content repository, through the JSR-170 interface.
For more information about e-form content repositories, see the PDF publication Implementing E-form Support for BPM.