Monitoring Human Workflow Service Engine Instances and Faults

21-2 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite To manage human task service component policies: 1. Access this page through one of the following options:

2. Select the human task service component in the Component Metrics table.

3. Click Policies.

The Policies page enables you to attach and detach security policies to and from a human task service component. The policies table displays the attached policy name, the policy reference status enabled or disabled that you can toggle, the category Management, Reliable Messaging, MTOM Attachment, Security, or WS Addressing, the total violations, and the authentication, authorization, confidentiality, and integrity failures since the SOA Infrastructure was last restarted.

4. Click AttachDetach.

If multiple components are available, you are prompted to select the service or component for which to perform the attachment or detachment. 5. Select the service or component to which to attach or detach a policy. This invokes a dialog for attaching or detaching policies. Policies currently attached appear in the Attached Policies section. Additional policies available for attachment appear in the Available Policies section. Notes: ■ Before attaching policies, see Oracle Fusion Middleware Security and Administrators Guide for Web Services for definitions of available policies and details about which ones to use in your environment. ■ Human tasks have a port that is protected by default using the SAML policy oraclewss10_saml_token_service_policy. Oracle recommends that you not use this policy in a production environment. From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... 1. Select Home. 2. Select the Deployed Composites tab. 3. In the Composite section, select a specific SOA composite application. 1. Under soa-infra, select a specific SOA composite application. Managing Human Workflow Service Components and Engines 21-3 6. Select to attach policies appropriate to your environment.

7. Click Attach.

8. When you are finished attaching policies, click Validate.

9. If an error message appears, make the necessary corrections until you no longer have any validation errors.

10. Click OK.

The attached policy is displayed in the policies table. For more information, see the following documentation: ■ Section 1.4.3.2, Introduction to Policies ■ Section 8.8, Managing SOA Composite Application Policies for the dialogs that are displayed during policy attachment ■ Oracle Fusion Middleware Security and Administrators Guide for Web Services for definitions of available policies and details about which ones to use for your environment

21.2 Recovering from Human Workflow Service Engine Faults

You can view and recover from faults in the human workflow service engine. All human task service component faults, regardless of the SOA composite application instance of which they are a part, can be viewed in the human workflow service engine. Human workflow invocations from the BPEL service engine use different transactions than BPEL processes. Therefore, if a BPEL transaction is rolled back for any reason, the workflow task instances are still created. To view and recover from human workflow service engine faults: 1. Access this page through one of the following options:

2. Click Faults.

The Faults page displays the following details: ■ A utility for searching for a specific fault by specifying criteria and clicking Search . Click the Help icon for details. ■ Faults that occurred in the human workflow service engine, including the fault ID, error message, whether you can recover from the fault, the time at which the fault occurred, the SOA composite application and human task service component in which the fault occurred, the instance ID of the human task service component, and a link to a log file describing the fault. From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... 1. Select Service Engines Human Workflow . 1. Right-click soa-infra. 2. Select Service Engines Human Workflow .