This white paper demonstrates how an Oracle Forms application can interact with the BPEL workflow engine in 3 or less sentences. It shows integrating a Java class with Forms to query and complete tasks assigned to a user. The class retrieves task details to populate the form and allows approving or rejecting expenses. Email notifications are configured to inform the user of new tasks and employees of request statuses.
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Amit Singh
Every new release of Oracle EBS in last couple of years has proven that Oracle is relying more and more on Java based technologies to improve their customer experience. Oracle Application Framework (OAF) has been one of the development tool for HTML based self-service application development with in EBS. OAF is not limited to User interface development only. It can be also used in building concurrent program to perform background operation.
Discover how to integrate OA Framework BC4J component within Java concurrent program to perform a background job.
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Amit Singh
Every new release of Oracle EBS in last couple of years has proven that Oracle is relying more and more on Java based technologies to improve their customer experience. Oracle Application Framework (OAF) has been one of the development tool for HTML based self-service application development with in EBS. OAF is not limited to User interface development only. It can be also used in building concurrent program to perform background operation.
Discover how to integrate OA Framework BC4J component within Java concurrent program to perform a background job.
Forms Playback: Unlocking Oracle's Hidden Tool for Fast DataloadsNikunj Sanghvi
Forms Playback is an undocumented feature of Oracle Applications that can be used to speed up data entry of large amounts of data by up to 10 times that of conventional methods. It is an invaluable tool during the time of implementations, conversions or routine data maintenance activities. This innovative solution of using Forms Playback ended up saving thousands of hours of Business effort at a US Fortune-50 retailer. It was appreciated by Business and IT Management alike as an innovative solution to a ubiquitous problem.
The Oracle Web ADI makes task easy by making it convenient in Microsoft Excel and Word to complete your Oracle E-Business Suite tasks. It works via Internet, presents Oracle E-Business Suite Data in a spreadsheet interface, validates data, enables customization and automatically imports data. The Oracle E-Business Suite task you perform on the desktop is determined by the integrator you select in Oracle Web Applications Desktop Integrator. Each seeded integrator is delivered with the Oracle E-Business Suite product that provides the functionality being integrated with the desktop.
Oracle Fusion Financial Cloud Features - Creating Implementation UsersIQ Online Training
Learn about the features of oracle fusion financial cloud Applications and also learn how to create user implementation, assigning roles to the user and searching for the users.
With the great flexibility that xCP 2.0 gives developers when configuring
applications comes the complexity of understanding the best approaches to take
when meeting business requirements.
In some cases there may only be a single design pattern that will meet a business
requirement, and in other cases there may be several valid patterns, but only one
that is expected to meet performance requirements.
The aim of this white paper is to provides guidelines for designing and
configuring an xCP 2.0 application to meet business requirements based on the
experience of EMC subject matter experts.
This version of the document focuses on the design and configuration of the
application model and business processes.
Forms Playback: Unlocking Oracle's Hidden Tool for Fast DataloadsNikunj Sanghvi
Forms Playback is an undocumented feature of Oracle Applications that can be used to speed up data entry of large amounts of data by up to 10 times that of conventional methods. It is an invaluable tool during the time of implementations, conversions or routine data maintenance activities. This innovative solution of using Forms Playback ended up saving thousands of hours of Business effort at a US Fortune-50 retailer. It was appreciated by Business and IT Management alike as an innovative solution to a ubiquitous problem.
The Oracle Web ADI makes task easy by making it convenient in Microsoft Excel and Word to complete your Oracle E-Business Suite tasks. It works via Internet, presents Oracle E-Business Suite Data in a spreadsheet interface, validates data, enables customization and automatically imports data. The Oracle E-Business Suite task you perform on the desktop is determined by the integrator you select in Oracle Web Applications Desktop Integrator. Each seeded integrator is delivered with the Oracle E-Business Suite product that provides the functionality being integrated with the desktop.
Oracle Fusion Financial Cloud Features - Creating Implementation UsersIQ Online Training
Learn about the features of oracle fusion financial cloud Applications and also learn how to create user implementation, assigning roles to the user and searching for the users.
With the great flexibility that xCP 2.0 gives developers when configuring
applications comes the complexity of understanding the best approaches to take
when meeting business requirements.
In some cases there may only be a single design pattern that will meet a business
requirement, and in other cases there may be several valid patterns, but only one
that is expected to meet performance requirements.
The aim of this white paper is to provides guidelines for designing and
configuring an xCP 2.0 application to meet business requirements based on the
experience of EMC subject matter experts.
This version of the document focuses on the design and configuration of the
application model and business processes.
Oracle Workflow redeems complete workflow management system that endorses business process based mix. Its innovation empowers modeling, automation, and continuous improvement of business processes, routing information of any sort agreeing client characterized business rules. The main focus of document is on workflow troubleshooting by different users.
Oracle Application Framework (OAF) Online Training is Offering at Glory IT Technologies. OAF is an architecture for creating web based front end pages, J2EE type of applications within the Oracle EBS ERP platform. Oracle Application Framework is the development, deployment platform developed by Oracle to develop the Oracle E-Business Suite “Self-Service” or HTML based Applications.
In this webinar there will be a brief discussion on what is personalization, customization and extension. Lastly, we will be talking about the role of ADF, which is going to supersede OA Framework in fusion applications.
The InterLabs Seminar on April 27 2011, at the Concentra building, Antwerp, Belgium.
To upgrade your Oracle Forms 10g applications, there is no silver bullet sollution. What are the possibilities and their (dis)advantages?
Disaster Recovery to the Oracle Public CloudKal BO
Oracle’s Maximum Availability Architecture (Oracle MAA) is the best practices blueprint for data protection and availability for Oracle databases deployed on private, public or hybrid clouds. Data Guard and Active Data Guard provide disaster recovery (DR) for databases. This DR to cloud MAA validated technical white paper provides a detailed procedure on implementing Oracle Database Cloud Service & Oracle Database Cloud Exadata Service based standby site for your on-premises production Oracle databases using Active Data Guard
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...vasuballa
This Oracle Development session covers an overview of the Oracle E-Business Suite 12.2 architecture and configuration. It then dives into the latest updates for Oracle E-Business Suite installations and cloning. The session provides details on the latest automated features for provisioning a new Oracle E-Business Suite 12.1 or 12.2 instance to Oracle Cloud. Learn how easy it is to lift and shift (migrate) your on-premises Oracle E-Business Suite instance to Oracle Cloud.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofsAlex Pruden
This paper presents Reef, a system for generating publicly verifiable succinct non-interactive zero-knowledge proofs that a committed document matches or does not match a regular expression. We describe applications such as proving the strength of passwords, the provenance of email despite redactions, the validity of oblivious DNS queries, and the existence of mutations in DNA. Reef supports the Perl Compatible Regular Expression syntax, including wildcards, alternation, ranges, capture groups, Kleene star, negations, and lookarounds. Reef introduces a new type of automata, Skipping Alternating Finite Automata (SAFA), that skips irrelevant parts of a document when producing proofs without undermining soundness, and instantiates SAFA with a lookup argument. Our experimental evaluation confirms that Reef can generate proofs for documents with 32M characters; the proofs are small and cheap to verify (under a second).
Paper: https://eprint.iacr.org/2023/1886
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
20 Comprehensive Checklist of Designing and Developing a WebsitePixlogix Infotech
Dive into the world of Website Designing and Developing with Pixlogix! Looking to create a stunning online presence? Look no further! Our comprehensive checklist covers everything you need to know to craft a website that stands out. From user-friendly design to seamless functionality, we've got you covered. Don't miss out on this invaluable resource! Check out our checklist now at Pixlogix and start your journey towards a captivating online presence today.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
3. CONTENTS
White Papers by Contractors Network Ltd ............................................................... 1
ABOUT CONTRACTORS NETWORK ........................................................................... 3
ABOUT THE AUTHOR ................................................................................................ 4
INTRODUCTION........................................................................................................ 5
PURPOSE .................................................................................................................. 6
WHO SHOULD READ THIS ........................................................................................ 6
ORGANISATION OF THIS DOCUMENT ...................................................................... 7
Required software installation and configuration ............................................................. 8
Modifying BPEL Process and deploying Composite ........................................................... 9
Description of Java Class to interact with BPEL/WF ........................................................ 13
Embedding Java Class in Oracle Forms ......................................................................... 14
Running form to communicate with Oracle Workflow engine .......................................... 19
SUMMARY ............................................................................................................... 22
REFERENCES ........................................................................................................... 23
GLOSSARY .............................................................................................................. 24
Interacting with BPEL/WF from Oracle Forms Page |2
4. ABOUT CONTRACTORS NETWORK
Contractors Network Ltd is a Global Oracle Contractors Network with primary focus on
Oracle's E-Business Suite.
We are operated by Contractors Network Ltd with 8 offices worldwide.
We offer Contractor Resourcing with access to over 10,000 pre-qualified
Oracle Applications Contractors through our local offices.
We provide the only global Oracle specific job search engine with a view of
10,000 + Oracle specific roles.
We interact with over 15,000 client personnel involved with the Oracle E-
Business Suite.
We promote a community spirit through an Apps Blog, with 50 + Regional
Authors that produce 20 articles a months.
We are a Publishing House for White Papers authored by Oracle Contractors
and distribute these free, to clients and Contractors alike.
We offer access for training and demonstration of the latest release via an
online Vision environment at no cost.
We exhibit & present at all Regional Oracle Conferences worldwide as well as local Special
Interest Groups.
Interacting with BPEL/WF from Oracle Forms Page |3
5. ABOUT THE AUTHOR
Alex is an certified Oracle DBA and has worked with Oracle Forms from versions 2.0 to 11g.
He also has an experience in migration of forms from client server to WEB and installation
and configuration of Oracle Weblogic Server and Fusion Middleware 11g.
He worked with various industries like Retail, Banking Finance, Accounting, Pharmaceutical,
Automotive
You can reach Alex on alexander.reichman@gmail.com if you have any comments or feedback
regarding this paper.
Interacting with BPEL/WF from Oracle Forms Page |4
6. INTRODUCTION
Some companies which are using different systems are required to integrate the existing
Forms 11g application with Oracle BPEL Workflow included in the Fusion Middleware 11g
platform.
This white paper illustrates how simple forms application can interact with BPEL/WF
Figure 1 shows high-level overview of the process. Employee submit expenses from Web
Interface and the task will be automatically assigned to jstein Oracle user ( standard user
from Oracle Weblogic installation). jstein is automatically notified by email about the new task
and has to log on to BPM Worklist in order to approve/reject submitted expenses. This
Human Task can be done from Worklist Web Interface or implemented using Java API. In my
case I developed the Java class and embedded it to Oracle Forms using Java Importer. After
approving/rejecting submitted expenses employee should be notified about the status of
his/her request.
Figure 1 Expenses Approval process
Interacting with BPEL/WF from Oracle Forms Page |5
7. PURPOSE
Today's business requires the integration of different systems and applications.
Service Oriented Architecture (SOA) helps reducing the cost and complexity of integration
initiatives.
This white paper illustrates how a simple Oracle Forms Application can interact Oracle BPEL
Workflow engine which is a part of Oracle SOA Suite
WHO SHOULD READ THIS
Oracle Forms developers , SOA Architects, Project Managers and anyone else who is
interested in integration of Oracle Forms in SOA
Interacting with BPEL/WF from Oracle Forms Page |6
8. ORGANISATION OF THIS DOCUMENT
Section Contents Page
Part 1 Required software installation and configuration 8
Part 2 Modifying BPEL Process and deploying Composite 9
Part 3 Description of Java Class to interact with BPEL/WF 13
Part 4 Embedding Java Class in Oracle Forms 14
Part 5 Running form to communicate with Oracle WF 19
engine
Interacting with BPEL/WF from Oracle Forms Page |7
9. Required software installation and configuration
Step 1. Download pre-built Virtual Machine for SOA Suite
http://www.oracle.com/technetwork/middleware/soasuite/learnmore/vmsoa-172279.html
Step 2. Install Forms 11g services for Linux on this machine to follow this example.
Note: If you downloaded and installed Fusion Middleware 11.1.1.2 please download and
install 11.1.1.3 patch because Installation of Forms 11.1.1.2 on WLS 10.3.3 is not supported
(Oracle Support(Metalink) Note: ID 1099203.1)
Check your installation before installing Forms and Reports:
export MW_HOME=/oracle/fmwhome/
cat $MW_HOME/wlserver_10.3/.product.properties | grep WLS_PRODUCT_VERSION
WLS_PRODUCT_VERSION=10.3.3.0
FMW installation 11.1.1.2
Please also make sure Admin Server for SOA domain is up when you will install Forms and
Reports. Without that the admin server and manager of both installation can have
configuration problem (same port or overwrite of start-up script)
Step 3. The composite application in this white paper is based on an application SimpleTask
http://redstack.wordpress.com/2010/01/08/human-workflow-in-11g/#comment-298
Follow the steps explained in this blog to create task in Human Workflow and Service
Component Architecture (SCA) Composite which should be deployed on local weblogic server.
Interacting with BPEL/WF from Oracle Forms Page |8
10. Modifying BPEL Process and deploying Composite
I am considering you followed the steps in this blog to create task in Human Workflow and
Service Component Architecture (SCA) Composite.
Let's have look at human task we just created.
1. Start Jdeveloper and open SimpleTask application
2. Open ApproveExpenseClaim.task in designer
3. Go to Assignment page than click on the <Stage1.Participant1> box to highlight it,
and then click on the Edit button
In my case I assigned this task to John Steinbeck (jstein) demo user. In order to make sure
this user will be notified about assigned task let's check his attributes.
1. Open Weblogic administration console (http://localhost:7001/console)
2. Click on Security Realms
3. Click on myrealm and then choose "Users and Groups" tab
4. Click on jstein user open his attributes
5. Specify email address where you want to send email notification about created task
Now when new task will be assigned to jstein user he will be notified by email.
Interacting with BPEL/WF from Oracle Forms Page |9
11. Note: In order to enable email notification to Oracle user about assigned task and inform
employee about the status of his/her request you need to configure Oracle SOA Suite 11g for
sending email notifications. Please read this article which explains how to implement it
http://technology.amis.nl/blog/6019/configure-soa-suite-11g-for-sending-email-notifications-
with-google-mail
In order to notify employee about the status of his/her request to approve submitted
expenses we need to customize ExpenseClaimProcess.bpel
Figure 2 SimpleTask Modified BPEL Process
1. Open application SimpleTask in Jdeveloper
2. Open ExpenseClaimProcess.bpel in BPEL editor
3. Drag an Email activity from the Component Palette and drop it under the Assign
Activity.
4. Click twice to specify the configuration for email activity.
Note: In this example I have used my Gmail account alexander.reichman@gmail.com for both
jstein and employee but in real life it should be two different accounts.
Interacting with BPEL/WF from Oracle Forms P a g e | 10
12. Figure 3 Email Activity
5. The content of the message body is defined as follows:
Dear Sir/Madam,
We would like to inform you that the status of your request
<%bpws:getVariableData('ApproveExpenseClaim_1_globalVariable','payload
','/task:task/task:title')%>.
is
<%bpws:getVariableData('ApproveExpenseClaim_1_globalVariable','payload
','/task:task/task:systemAttributes/task:outcome')%>.
Interacting with BPEL/WF from Oracle Forms P a g e | 11
13. 6. Close Email Activity and open composite.xml
Figure 4 shows you final Composite Application
Figure 4 SCA Composite SimpleTask
7. Deploy the composite application to the SOA Suite
Interacting with BPEL/WF from Oracle Forms P a g e | 12
14. Description of Java Class to interact with BPEL/WF
Now it's time to create a Java Class to retrieve and complete a Human Workflow Task which
will be called from Oracle Forms Application. This class will contain two methods
1. Query the worklist and retrieve the details for all tasks assigned to user
....
2. Complete ( Approve/Reject) Human Workflow Task
...............
................
Interacting with BPEL/WF from Oracle Forms P a g e | 13
15. Jdeveloper project library settings:
For more details about Human Workflow API please refer to SOA Developers Guide available
at http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224.pdf
Embedding Java Class in Oracle Forms
Figure 5 shows the Oracle Forms application which will retrieve and complete a Human
Workflow task. When user will press "Refresh" button getTaskdetails method from Java Class
will be called to retrieve the list of tasks assigned to user (jstein). If the task status is
ASSIGNED user can approve or reject the expenses by pressing Approve/Reject button. After
pressing one of these buttons approveRejectExpenses method from Java Class will be called
and the status of task will be changed.
Figure 5 Oracle Forms application
Interacting with BPEL/WF from Oracle Forms P a g e | 14
16. The embedded class should be available for both Forms developer and the Forms server
because it will be used at design and runtime.
For Forms developer on Unix the correct setting of FORMS_BUILDER_CLASSPATH in
frmbld.sh script should be set (the registry key FORMS_BUILDER_CLASSPATH on Windows )
Figure 6 FORMS_BUILDER_CLASSPATH
On Fusion Middleware server configuration file default.env should be modified. Please make
sure to add the jar holding the Java class to the CLASSPATH variable.
Figure 7 default.env CLASSPATH
Interacting with BPEL/WF from Oracle Forms P a g e | 15
17. Now we can import Java Class in Oracle Forms.
Select Program->Import Java Classes from Forms Builder Menu. You will see only the classes
that can be found in FORMS_BUILDER_CLASSPATH.
Figure 8 Importing WorkflowTaskForms Java Class
Java Importer examines the Java Class and creates PL/SQL wrapper for it.
Figure 9 shows the package specification containing PL/SQL version of Java methods we
created in Part 3.
Figure 9 PL/SQL wrapper for Java Class
Interacting with BPEL/WF from Oracle Forms P a g e | 16
18. Now we need to add the code to WHEN-BUTTON-PRESSED trigger behind Refresh button.
Figure 10 shows a code excerpt for this trigger
The function WorkflowTasksForms.getTaskdetails returns the array of string objects
containing the details for each task assigned to user. The main loop is using to retrieve the
task details and populate the form block
Figure 10 WHEN-BUTTON-PRESSED trigger REFRESH button. Loop through the list
of tasks and populate the block
Interacting with BPEL/WF from Oracle Forms P a g e | 17
19. In order to complete the task we need to add the code to WHEN-BUTTON-PRESSED trigger
behind Approve and Reject button
Figure 10 shows the code for Approve button. The code for the Reject button is the same as
the code in Figure 10, except that you replace the line
WorkflowTasksForms.approveRejectExpenses (:tasks.taskID , 'APPROVE') ;
with the following line:
WorkflowTasksForms.approveRejectExpenses (:tasks.taskID , 'REJECT') ;
Figure 11 WHEN-BUTTON-PRESSED trigger APPROVE button. Approve the task
assigned to user
Interacting with BPEL/WF from Oracle Forms P a g e | 18
20. Running form to communicate with Oracle Workflow
engine
1) Please follow the steps in this blog to submit expenses and create the task for jstein user.
Figure 12 Submit expenses
2) Oracle user jstein receives the following email notification about assigned task
Figure 13 Email notification sent to jstein
Interacting with BPEL/WF from Oracle Forms P a g e | 19
21. 3) Open BPM Worklist (http://localhost:7001/bpm/workspace/) to see the task assigned to
jstein user
Figure 14 Worklist human workflow web user interface to view assigned task
4) Run Form ( http://localhost:9001/forms/frmservlet?config=default). After pressing Refresh
button we can see the task 200222 was assigned to jstein
Figure 15 Form after querying tasks for jstein - task 200222 was assigned
Interacting with BPEL/WF from Oracle Forms P a g e | 20
22. 5) Approve the Task 200222 which status is ASSIGNED by pressing Approve button
6) Click on Refresh button again to check the task status. As you can see the status now is
completed.
Figure 16 Task 200222 status is COMPLETED
7) Employee receives the following email notification that his request is approved
Figure 17 Email Notification after approving the expenses
Interacting with BPEL/WF from Oracle Forms P a g e | 21
23. SUMMARY
This white paper demonstrated an example of how Oracle Forms Application can interact with
BPEL Workflow engine and can be a part of Service Oriented Architecture. The Java Class that
acts as a bridge between Oracle BPEL and Oracle Forms is used to query and complete the
tasks assigned to jstein user. Email notification has been sent to jstein user about created
task and to employee to inform him that his/her request is completed.
Interacting with BPEL/WF from Oracle Forms P a g e | 22
24. REFERENCES
Configure SOA Suite 11g for sending email notifications with Google Mail
http://technology.amis.nl/blog/6019/configure-soa-suite-11g-for-sending-email-notifications-
with-google-mail
Humon Workflow in 11g (SimpleTask Composite Application)
http://redstack.wordpress.com/2010/01/08/human-workflow-in-11g/#comment-298
Oracle Support(Metalink) Note: 1099203.1
Interacting with BPEL/WF from Oracle Forms P a g e | 23