What Happens When You Deploy a Guided Business Process to Oracle WebLogic Server

25-6 Modeling and Implementation Guide for Oracle Business Process Management ■ Romanian ■ Russian ■ Slovak ■ Swedish ■ Thai ■ Turkish See Section 25.4.1, How to Configure the Supported Locales for a Guided Business Process Client Application for more information on how to localize a Guided Business Process.

25.4.1 How to Configure the Supported Locales for a Guided Business Process Client Application

Before configuring a Guided Business Process application to support additional locales, ensure that you provided the required bundles for those locales when developing the Guided Business Process. To configure the supported locales for a Guided Business Process Client application: 1. Open the client application in Oracle JDeveloper. 2. Open the jspx client page.

3. Select Source View and modify the locale using the following code:

f:view locale= {view.locale} 4. Edit the faces-config.xml file located under Project_Root public_ htmlWEB-INF .

5. Click the Overview tab in the editor window.

6. In the editor window, select Application.

7. In the Locale Config area, click New to open the Property Inspector to add the

supported locales. 8. Add the supported locales. Example 25–4 shows how the faces-config.xml file looks after adding a set of supported locales. Example 25–4 faces-config.xml file locale-config default-localeendefault-locale supported-localearsupported-locale supported-localecasupported-locale supported-localecssupported-locale supported-localedasupported-locale supported-localedesupported-locale supported-localezh_CNsupported-locale locale-config 9. Set the browser locale to a supported locale. 10. Run the client page. Building a Guided Business Process Client Application 25-7

25.5 Guided Business Process Run-time APIs

Guided Business Processes provide you a set of APIs that enable you to get details about the available milestones and the tasks that compose them. If the predefined Activity Guide ADF taskflows do not satisfy your requirements then you can use these APIs to obtain the information that you display in the client application.

25.5.1 Guided Business Process query Service API

This API is designed to support the following user navigation scenarios in an application displaying a Guided Business Process: Display a list of Guided Business Process instances using a filter. Available filters are: ■ MY : Guided Business Process instances containing active tasks assigned to the user. ■ REPORTEES : Guided Business Process instances containing active tasks assigned to reportees to the current user. ■ PREVIOUS : Guided Business Process instances containing completed tasks assigned to the user, and instances in which a particular task is reassigned to another user. ■ ADMIN : Guided Business Process instances visible to the Guided Business Process administrator. Active instances can be assigned to any user. Note: The BPMAGAdmin role maps to a user with an Administrator role assigned. This role enables the user to query for all the Guided Business Process instances available in the server, including completed, active, and instances with errors. The configuration file located in DOMAIN_HOMEconfigfmwconfigsystem-jazn-data.xml contains the definition of this role. Note: The Guided Business Process APIs enables retrieving detailed task information by providing the task ID, but do not retrieve the task information. Other APIs, such as the Workflow service APIs, are required for this purpose. For more information about Workflow services, see Introduction to Human Workflow Services in Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.