How to Localize a User Task

Building a Guided Business Process Client Application 25-3 12. Configure the Activity Guide to display a refresh button in the Activity Guide tree., using the following alternative methods: ■ In the file activityguide.properties, add the parameter ShowRefreshButton . Set its value to true to enable the display of a refresh button, and false or any other value to disable the refresh button. ■ In the Activity Guide tree task flow, add the parameter ShowRefreshButton and set its value to true. This task flow parameter overrides the value of the parameter set in the activityguide.properties file. If the value of the ShowRefreshButton parameter is empty or null, then the property ShowRefreshButton in the file activityguide.properties defines if the refresh button is shown. If the activityguide.properties file does not specify a value for this property then the refresh button is not shown in the client. Example 25–1 illustrates adding a ShowRefreshButton parameter to the tree task flow. Example 25–1 Add the ShowRefreshButton Parameter to the Tree Task Flow taskFlow id=dynamicRegion1 taskFlowId={backingBeanScope.dynamicLeft.dynamicTaskFlowId} xmlns=http:xmlns.oracle.comadfcontrollerbinding parameters parameter id=ShowRefreshButton value=true” xmlns=http:xmlns.oracle.comadfmuimodel parameters taskFlow 13. Edit the file adfc-config.xml to include the location of the activity.properties file. This should be the absolute path to the activityguide.properties file. An example adfc-config.xml is shown in Example 25–2 . Example 25–2 adfc-config.xml File with Reference to activityguide.properties File managed-bean id=__10 managed-bean-name id=__12agPropsmanaged-bean-name managed-bean-class id=__ 11oracle.bpel.activityguide.ui.beans.model.AGPropertiesmanaged-bean-class managed-bean-scope id=__9sessionmanaged-bean-scope managed-property id=__15 property-nameagPropsFilePathproperty-name property-classjava.lang.Stringproperty-class value id=__14-- relative path or absolute path should be given here--activityguide.propertiesvalue managed-property managed-bean 14. Create a Workflow Service client configuration file. An example is shown in Example 25–3 . Example 25–3 Workflow Services Client Configuration File ?xml version=1.0 encoding=UTF-8 standalone=yes? workflowServicesClientConfiguration xmlns=http:xmlns.oracle.combpelservicesclient server default=true name=default 25-4 Modeling and Implementation Guide for Oracle Business Process Management localClient participateInClientTransactionfalseparticipateInClientTransaction localClient remoteClient serverURLt3:host:portserverURL initialContextFactoryweblogic.jndi.WLInitialContextFactoryinitialContextFactory participateInClientTransactionfalseparticipateInClientTransaction remoteClient soapClient rootEndPointURLhttp:host:portrootEndPointURL identityPropagation mode=dynamic type=saml policy-references policy-reference enabled=true category=security uri=oraclewss10_saml_token_client_policy policy-references identityPropagation soapClient server

25.2.2 What Happens When You Develop a Guided Business Process Application with Oracle ADF

A JDeveloper application with an ADF Web project is created. The application includes the following: ■ JSF page with two regions, one for the Activity Guide tree and the other for Activity Guide node details. ■ An activityguide.properties file. 25.2.3 What Happens at Run Time: How a Guided Business Process Application Is Developed with Oracle ADF At run time, the Oracle ADF application displays the Guided Business Process developed at design time. A contextual event mechanism in the common ADF layer handles communication between the Activity Guide tree and Activity Guide node details, respectively. When you select a Guided Business Process instance, the Activity Guide tree displays the information for the Activity Guides, milestones, and tasks in that Guided Business Process instance. Alternatively, you can configure the AGInstanceID property in the activityguide.properties file for the JSF Page to render the following information for a particular Guided Business Process instance: ■ Activity Guide ■ Milestones ■ Tasks When selecting a milestone node in the Activity Guide tree, it retrieves or refreshes the sub-tree beneath the milestone. When selecting a task node in the Activity Guide tree, it displays detailed task information for the task.