Affordable Workflow Options for APEX

Niels de Bruijn
Niels de BruijnBusiness Unit Manager APEX at MT AG & Oracle ACE Director
Affordable Workflow Options
for your APEX App
Niels de Bruijn
March 30th, 2017
Affordable Workflow Options for Your APEX App 2
Facts & Figures
Independent Technology House
with Cross-Industry Expertise
Headquarter
Ratingen
(North Rhine – Westphalia)
240
employed
Founded
1994
Branches
Dortmund, Cologne,
Frankfurt am Main
Top Company
for Trainees &
Students
Privately-
Owned
Corporation
Oracle
Platinum
Partner
28 Mio. Euro
Revenue
Affordable Workflow Options for Your APEX App 3
About me
§ Niels de Bruijn, Business Unit Manager APEX
§ Born in 1977, married, three daughters, living in Ratingen
§ Working for MT AG since DEC-2003
§ After working for 2 years as Oracle consultant for Oracle Nederland B.V.
§ Track record with APEX since its inception
§ Responsible for all APEX activity in the company
§ Knowledge Portal: apex.mt-ag.com
§ Presenting at Kscope, DOAG Conference, APEX Connect and Open World amongst others
§ ODTUG - Part of APEX Content Committee for Kscope
§ DOAG – Initiator & Conference Chair of APEX Connect
Affordable Workflow Options for Your APEX App
§ About workflow in APEX
§ Affordable workflow options for your APEX app
§ Spotlight: APEX & Camunda Community Edition
§ How it works
§ Live Demo
§ Modelling your workflow with bpmn.io
§ What did we learn?
Agenda
Affordable Workflow Options for Your APEX App
§ Which workflow?! There simply is no workflow feature in APEX (up to 5.1).
§ Also nothing planned for APEX 5.2
§ First thought: Hardcoding your workflow with PL/SQL (DON‘T DO THIS!)
§ Option 1: Define your workflow definition in tables
§ PL/Flow
§ Flow Control
§ Option 2: Integrate Camunda
5
Affordable workflow options for your APEX app
Affordable Workflow Options for Your APEX App
§ PL/Flow from Yeb Havinga (http://plflow.sourceforge.net)
+ Easy to install, 100% PL/SQL incl. PL/SQL API
+ Open Source
- No graphical interface to maintain the workflow
- Not standardized (no BPMN support)
- No updates since its last release in 2004
§ Flow Control from Jürgen Sieben (https://github.com/j-sieben/FCT)
+ Easy to install, 100% PL/SQL incl. PL/SQL API
+ Open Source
+ Released in JUN-2016, actively maintained by Jürgen Sieben
- No graphical interface to maintain the workflow
- Not standardized (no BPMN support)
6
Option 1: Workflow definition in tables
Affordable Workflow Options for Your APEX App 7
APEX & Flow Control: Live Demo
Affordable Workflow Options for Your APEX App
What if your requirements go one step further?
§ BPMN 2.0 support
§ Graphical Interface (both design-time as well as run-time) to document the process incl. manual steps
§ Tool to monitor processes
§ Support-Option available
8
Option 2: Workflow definition in BPMN (WYSIWYG)
Affordable Workflow Options for Your APEX App
§ Camunda as run-time Engine (camunda.org)
§ Fork of activiti
§ Regularly updated
§ Large team working on it (HQ based in Berlin)
§ Open Source
§ Supports various standards like BPMN 2.0, CMMN 1.1 and DMN 1.1
§ Available in two editions: free Community Edition & Enterprise Edition
9
Option 2: Camunda Community Edition
Source: camunda.com (3-MAR-2017)
Affordable Workflow Options for Your APEX App
§ Some usefull (Java) Apps can be installed to monitor processes, administrate users, etc.
10
Option 2: Camunda Community Edition
Affordable Workflow Options for Your APEX App 11
APEX & Camunda: Live Demo Run-Time
Affordable Workflow Options for Your APEX App 12
APEX and Camunda: how it works
Optional:
Camunda Apps
(ie. Cockpit)
ORDS
REST-API
APEX
Workspace Schema
APEX
Metadata Repository
Camunda
Metadata Repository
Oracle DatabaseBrowser
read-out
process status
initiate
process
Apache Tomcat
bpmn-viewer.js
Affordable Workflow Options for Your APEX App
§ REST Web Service call
§ All logic stays in APEX: we tell Camunda what to do in which case
13
APEX and Camunda: instantiating a process with APEX
my_process
Affordable Workflow Options for Your APEX App
1. Read out the BPMN definition (XML file) from the metadata repository
select gby.bytes_
from act_ge_bytearray gby
, act_re_procdef rpf
where gby.deployment_id_ = rpf.deployment_id_
and rpf.key_ = 'recruitment-procedures'
order by rpf.version_ desc
fetch first 1 rows only
2. Use bpmn-viewer.js to render the process (SVG)
14
APEX and Camunda: show process status
Affordable Workflow Options for Your APEX App
3. Use custom JavaScript to highlight current state:
//Highlight current status
function markUp(temp){
var parent = document.getElementById(temp);
parent.childNodes[0].childNodes[0].setAttribute("style", "stroke: #056693; stroke-
width: 4; fill: #b5e6fd");
}
var dlCheck = $('#P2_DL').val(); //P2_DL contains the PK of the APEX table
if (dlCheck != ''){
var element = $('#P2_ST').val() //P2_ST contains the CSS ID of the element
markUp(element);
};
15
APEX and Camunda: show process status
Affordable Workflow Options for Your APEX App
§ APEX user is passed to Camunda for auditing purposes
select hi.proc_def_key_ as Process_Definition
, hi.proc_inst_id_ as Process_Key
, hi.assignee_ as Approved_By
, hi.act_name_ as Task
, hi.start_time_ as Start_Time
, hi.end_time_ as End_Time
, apx.candidate as Candidate
from act_hi_actinst hi
, act_ru_variable ru
, act_apx_cam_variable apx
where hi.proc_inst_id_ = ru.proc_inst_id_
and apx.id = ru.text_
and hi.act_type_ = 'userTask'
and ru.name_ = 'id'
order by hi.start_time_ desc
;
16
APEX and Camunda: show history
Affordable Workflow Options for Your APEX App 17
About BPMN 2.0
See all on
https://camunda.org/bpmn/reference/
Affordable Workflow Options for Your APEX App
§ https://bpmn.io
§ Open Source Tool to model your workflows
§ Works locally in your browser or can be part of your app
§ Your work is saved in BPMN 2.0 (XML)
18
Modelling your workflow with bpmn.io
Affordable Workflow Options for Your APEX App 19
bpmn.io: Live Demo
Affordable Workflow Options for Your APEX App
§ Web Service call
20
Deploying a new process using a REST client in Chrome
Affordable Workflow Options for Your APEX App
§ There is no workflow feature in APEX 5.x and nothing such is planned for the near future
§ Use Workflow Control if
§ you don‘t need BPMN 2.0 support
§ you don‘t need to visualize or graphically design the workflow
§ Otherwise go for Camunda Community Edition
§ It integrates seemlessly with APEX and doesn‘t cost you anything (other than time)
§ Supports all standards (so you can migrate to another product if needed)
§ Enables you to visualize and graphically design your workflow process
21
What did we learn?
@nielsdb
http://de.linkedin.com/in/nielsdebruijn
https://blog.mt-ag.com/apex
1 of 22

Recommended

Mubashir Ahmed ERP SAP Basis Consultant Resume with 3 Yr Exp by
Mubashir Ahmed ERP SAP Basis Consultant Resume with 3 Yr ExpMubashir Ahmed ERP SAP Basis Consultant Resume with 3 Yr Exp
Mubashir Ahmed ERP SAP Basis Consultant Resume with 3 Yr ExpMubashir Ahmed
16.1K views6 slides
Akka-intro-training-public.pdf by
Akka-intro-training-public.pdfAkka-intro-training-public.pdf
Akka-intro-training-public.pdfBernardDeffarges
83 views85 slides
Integrating Apache Kafka Into Your Environment by
Integrating Apache Kafka Into Your EnvironmentIntegrating Apache Kafka Into Your Environment
Integrating Apache Kafka Into Your Environmentconfluent
3.9K views29 slides
Complete Sap Basis by
Complete Sap Basis Complete Sap Basis
Complete Sap Basis nanda nanda
1.4K views3 slides
Near real-time statistical modeling and anomaly detection using Flink! by
Near real-time statistical modeling and anomaly detection using Flink!Near real-time statistical modeling and anomaly detection using Flink!
Near real-time statistical modeling and anomaly detection using Flink!Flink Forward
203 views12 slides
A Deep Dive into Kafka Controller by
A Deep Dive into Kafka ControllerA Deep Dive into Kafka Controller
A Deep Dive into Kafka Controllerconfluent
10.2K views24 slides

More Related Content

What's hot

SU25 steps after ECC to S4 HANA conversion _ SAP Community.pdf by
SU25 steps after ECC to S4 HANA conversion _ SAP Community.pdfSU25 steps after ECC to S4 HANA conversion _ SAP Community.pdf
SU25 steps after ECC to S4 HANA conversion _ SAP Community.pdfcsekar2
414 views5 slides
SAP Project Management: Major Responsibilities And Key Task by
SAP Project Management: Major Responsibilities And Key TaskSAP Project Management: Major Responsibilities And Key Task
SAP Project Management: Major Responsibilities And Key TaskAnjali Rao
20K views11 slides
sap basis 2.5 yr exp. resume by
sap basis 2.5 yr exp. resumesap basis 2.5 yr exp. resume
sap basis 2.5 yr exp. resumekul deepak
5.1K views3 slides
Universal metrics with Apache Beam by
Universal metrics with Apache BeamUniversal metrics with Apache Beam
Universal metrics with Apache BeamEtienne Chauchot
14.6K views48 slides
Operator SDK for K8s using Go by
Operator SDK for K8s using GoOperator SDK for K8s using Go
Operator SDK for K8s using GoCloudOps2005
1.6K views34 slides
SUP_EDE_0140_1712_DAY1_Q123.pdf by
SUP_EDE_0140_1712_DAY1_Q123.pdfSUP_EDE_0140_1712_DAY1_Q123.pdf
SUP_EDE_0140_1712_DAY1_Q123.pdfFranklin Sojo
32 views46 slides

What's hot(20)

SU25 steps after ECC to S4 HANA conversion _ SAP Community.pdf by csekar2
SU25 steps after ECC to S4 HANA conversion _ SAP Community.pdfSU25 steps after ECC to S4 HANA conversion _ SAP Community.pdf
SU25 steps after ECC to S4 HANA conversion _ SAP Community.pdf
csekar2414 views
SAP Project Management: Major Responsibilities And Key Task by Anjali Rao
SAP Project Management: Major Responsibilities And Key TaskSAP Project Management: Major Responsibilities And Key Task
SAP Project Management: Major Responsibilities And Key Task
Anjali Rao20K views
sap basis 2.5 yr exp. resume by kul deepak
sap basis 2.5 yr exp. resumesap basis 2.5 yr exp. resume
sap basis 2.5 yr exp. resume
kul deepak5.1K views
Universal metrics with Apache Beam by Etienne Chauchot
Universal metrics with Apache BeamUniversal metrics with Apache Beam
Universal metrics with Apache Beam
Etienne Chauchot14.6K views
Operator SDK for K8s using Go by CloudOps2005
Operator SDK for K8s using GoOperator SDK for K8s using Go
Operator SDK for K8s using Go
CloudOps20051.6K views
SUP_EDE_0140_1712_DAY1_Q123.pdf by Franklin Sojo
SUP_EDE_0140_1712_DAY1_Q123.pdfSUP_EDE_0140_1712_DAY1_Q123.pdf
SUP_EDE_0140_1712_DAY1_Q123.pdf
Franklin Sojo32 views
Principles of SAP HANA Sizing - on premise and cloud-1.pdf by CharithNilangaWeeras
Principles of SAP HANA Sizing - on premise and cloud-1.pdfPrinciples of SAP HANA Sizing - on premise and cloud-1.pdf
Principles of SAP HANA Sizing - on premise and cloud-1.pdf
Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio... by Robert Max
Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio...Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio...
Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio...
Robert Max11.1K views
SAP ChaRM and Retrofit by Mark Hansraj
SAP ChaRM and Retrofit SAP ChaRM and Retrofit
SAP ChaRM and Retrofit
Mark Hansraj8.4K views
[네이버오픈소스세미나] Pinpoint를 이용해서 서버리스 플랫폼 Apache Openwhisk 트레이싱하기 - 오승현 by NAVER Engineering
[네이버오픈소스세미나] Pinpoint를 이용해서 서버리스 플랫폼 Apache Openwhisk 트레이싱하기 - 오승현[네이버오픈소스세미나] Pinpoint를 이용해서 서버리스 플랫폼 Apache Openwhisk 트레이싱하기 - 오승현
[네이버오픈소스세미나] Pinpoint를 이용해서 서버리스 플랫폼 Apache Openwhisk 트레이싱하기 - 오승현
NAVER Engineering7.4K views
SAP Testing Services by r_shanki
SAP Testing ServicesSAP Testing Services
SAP Testing Services
r_shanki4.2K views
Alfresco 5.2 REST API by J V
Alfresco 5.2 REST APIAlfresco 5.2 REST API
Alfresco 5.2 REST API
J V5.6K views
CV_Jyosthna_SAP BASIS by JYOSTHNA
CV_Jyosthna_SAP BASISCV_Jyosthna_SAP BASIS
CV_Jyosthna_SAP BASIS
JYOSTHNA950 views
Bridging The Gap: SAP Solution Manager To ServiceNow Integration by Alpha Sirius
Bridging The Gap: SAP Solution Manager To ServiceNow IntegrationBridging The Gap: SAP Solution Manager To ServiceNow Integration
Bridging The Gap: SAP Solution Manager To ServiceNow Integration
Alpha Sirius7.1K views
SAP HCM authorisations: streamline processes and improve HR data security by Sven Ringling
SAP HCM authorisations: streamline processes and improve HR data securitySAP HCM authorisations: streamline processes and improve HR data security
SAP HCM authorisations: streamline processes and improve HR data security
Sven Ringling5.4K views
Towards Flink 2.0: Unified Batch & Stream Processing - Aljoscha Krettek, Verv... by Flink Forward
Towards Flink 2.0: Unified Batch & Stream Processing - Aljoscha Krettek, Verv...Towards Flink 2.0: Unified Batch & Stream Processing - Aljoscha Krettek, Verv...
Towards Flink 2.0: Unified Batch & Stream Processing - Aljoscha Krettek, Verv...
Flink Forward1.9K views
Oracle Low Code Lowdown: APEX vs VBCS by Karen Cannell
Oracle Low Code Lowdown: APEX vs VBCSOracle Low Code Lowdown: APEX vs VBCS
Oracle Low Code Lowdown: APEX vs VBCS
Karen Cannell394 views
Building Streaming Data Applications Using Apache Kafka by Slim Baltagi
Building Streaming Data Applications Using Apache KafkaBuilding Streaming Data Applications Using Apache Kafka
Building Streaming Data Applications Using Apache Kafka
Slim Baltagi7.9K views
Stephan Ewen - Experiences running Flink at Very Large Scale by Ververica
Stephan Ewen -  Experiences running Flink at Very Large ScaleStephan Ewen -  Experiences running Flink at Very Large Scale
Stephan Ewen - Experiences running Flink at Very Large Scale
Ververica 3.5K views

Similar to Affordable Workflow Options for APEX

Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline... by
Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline...Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline...
Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline...Provectus
595 views61 slides
Webinar: Camunda und Liferay by
Webinar: Camunda und LiferayWebinar: Camunda und Liferay
Webinar: Camunda und Liferaycamunda services GmbH
2.7K views34 slides
Alfresco Development Framework Basic by
Alfresco Development Framework BasicAlfresco Development Framework Basic
Alfresco Development Framework BasicMario Romano
1.2K views81 slides
The_Beauty_And_The_Beast_APEX_and_SAP by
The_Beauty_And_The_Beast_APEX_and_SAPThe_Beauty_And_The_Beast_APEX_and_SAP
The_Beauty_And_The_Beast_APEX_and_SAPNiels de Bruijn
3.4K views29 slides
PowerApps by
PowerAppsPowerApps
PowerAppsPenny Coventry
322 views21 slides
Handson Oracle Management Cloud with Application Performance Monitoring and L... by
Handson Oracle Management Cloud with Application Performance Monitoring and L...Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...Lucas Jellema
402 views44 slides

Similar to Affordable Workflow Options for APEX(20)

Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline... by Provectus
Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline...Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline...
Data Summer Conf 2018, “Building unified Batch and Stream processing pipeline...
Provectus595 views
Alfresco Development Framework Basic by Mario Romano
Alfresco Development Framework BasicAlfresco Development Framework Basic
Alfresco Development Framework Basic
Mario Romano1.2K views
The_Beauty_And_The_Beast_APEX_and_SAP by Niels de Bruijn
The_Beauty_And_The_Beast_APEX_and_SAPThe_Beauty_And_The_Beast_APEX_and_SAP
The_Beauty_And_The_Beast_APEX_and_SAP
Niels de Bruijn3.4K views
Handson Oracle Management Cloud with Application Performance Monitoring and L... by Lucas Jellema
Handson Oracle Management Cloud with Application Performance Monitoring and L...Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...
Lucas Jellema402 views
Tool overview – how to capture – how to create basic workflow .pptx by RUPAK BHATTACHARJEE
Tool overview – how to capture – how to create basic workflow .pptxTool overview – how to capture – how to create basic workflow .pptx
Tool overview – how to capture – how to create basic workflow .pptx
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA... by Andrejs Prokopjevs
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...
Andrejs Prokopjevs1.8K views
Progress application server for openedge best practices - PUG Baltic Annual C... by Alen Leit
Progress application server for openedge best practices - PUG Baltic Annual C...Progress application server for openedge best practices - PUG Baltic Annual C...
Progress application server for openedge best practices - PUG Baltic Annual C...
Alen Leit4.9K views
Sap basis online training classes by sapehsit
Sap basis online training classesSap basis online training classes
Sap basis online training classes
sapehsit394 views
ApacheBeam_Google_Theater_TalendConnect2017.pptx by RAJA RAY
ApacheBeam_Google_Theater_TalendConnect2017.pptxApacheBeam_Google_Theater_TalendConnect2017.pptx
ApacheBeam_Google_Theater_TalendConnect2017.pptx
RAJA RAY2 views
Building Your First Apache Apex Application by Apache Apex
Building Your First Apache Apex ApplicationBuilding Your First Apache Apex Application
Building Your First Apache Apex Application
Apache Apex607 views
ApacheBeam_Google_Theater_TalendConnect2017.pdf by RAJA RAY
ApacheBeam_Google_Theater_TalendConnect2017.pdfApacheBeam_Google_Theater_TalendConnect2017.pdf
ApacheBeam_Google_Theater_TalendConnect2017.pdf
RAJA RAY1 view
Managing the Continuous Delivery of Code to AWS Lambda by Amazon Web Services
Managing the Continuous Delivery of Code to AWS LambdaManaging the Continuous Delivery of Code to AWS Lambda
Managing the Continuous Delivery of Code to AWS Lambda
Spring Boot & Spring Cloud on Pivotal Application Service - Alexandre Roman by VMware Tanzu
Spring Boot & Spring Cloud on Pivotal Application Service - Alexandre RomanSpring Boot & Spring Cloud on Pivotal Application Service - Alexandre Roman
Spring Boot & Spring Cloud on Pivotal Application Service - Alexandre Roman
VMware Tanzu865 views
St Hilaire Ajax Start Odtug Nov 2009 by ruiruitang
St Hilaire   Ajax Start Odtug Nov 2009St Hilaire   Ajax Start Odtug Nov 2009
St Hilaire Ajax Start Odtug Nov 2009
ruiruitang284 views

More from Niels de Bruijn

APEX Migration by
APEX MigrationAPEX Migration
APEX MigrationNiels de Bruijn
2.1K views27 slides
Low-Code Testing Tool by
Low-Code Testing ToolLow-Code Testing Tool
Low-Code Testing ToolNiels de Bruijn
4.9K views11 slides
APEX 5.1 - Architektur, Installation & Betrieb by
APEX 5.1 - Architektur, Installation & BetriebAPEX 5.1 - Architektur, Installation & Betrieb
APEX 5.1 - Architektur, Installation & BetriebNiels de Bruijn
2.3K views21 slides
Getting your grips on Excel chaos by
Getting your grips on Excel chaosGetting your grips on Excel chaos
Getting your grips on Excel chaosNiels de Bruijn
765 views33 slides
Anwendungsmodernisierung mit Oracle Application Express (APEX) by
Anwendungsmodernisierung mit Oracle Application Express (APEX)Anwendungsmodernisierung mit Oracle Application Express (APEX)
Anwendungsmodernisierung mit Oracle Application Express (APEX)Niels de Bruijn
1.7K views70 slides
APEX für den Oracle DBA by
APEX für den Oracle DBAAPEX für den Oracle DBA
APEX für den Oracle DBANiels de Bruijn
1.3K views28 slides

More from Niels de Bruijn(18)

APEX 5.1 - Architektur, Installation & Betrieb by Niels de Bruijn
APEX 5.1 - Architektur, Installation & BetriebAPEX 5.1 - Architektur, Installation & Betrieb
APEX 5.1 - Architektur, Installation & Betrieb
Niels de Bruijn2.3K views
Getting your grips on Excel chaos by Niels de Bruijn
Getting your grips on Excel chaosGetting your grips on Excel chaos
Getting your grips on Excel chaos
Niels de Bruijn765 views
Anwendungsmodernisierung mit Oracle Application Express (APEX) by Niels de Bruijn
Anwendungsmodernisierung mit Oracle Application Express (APEX)Anwendungsmodernisierung mit Oracle Application Express (APEX)
Anwendungsmodernisierung mit Oracle Application Express (APEX)
Niels de Bruijn1.7K views
Single Sign-On for APEX apps (Important: latest version on edocr!) by Niels de Bruijn
Single Sign-On for APEX apps (Important: latest version on edocr!)Single Sign-On for APEX apps (Important: latest version on edocr!)
Single Sign-On for APEX apps (Important: latest version on edocr!)
Niels de Bruijn7.7K views
Packaged Applications in APEX 5.0 by Niels de Bruijn
Packaged Applications in APEX 5.0Packaged Applications in APEX 5.0
Packaged Applications in APEX 5.0
Niels de Bruijn1.9K views
Schatten IT erfolgreich bekämpfen by Niels de Bruijn
Schatten IT erfolgreich bekämpfenSchatten IT erfolgreich bekämpfen
Schatten IT erfolgreich bekämpfen
Niels de Bruijn1.9K views
Single Sign-On for APEX applications based on Kerberos (Important: latest ver... by Niels de Bruijn
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
Single Sign-On for APEX applications based on Kerberos (Important: latest ver...
Niels de Bruijn14.8K views
MT AG - KASS - Keep APEX Stupid Simple by Niels de Bruijn
MT AG - KASS - Keep APEX Stupid SimpleMT AG - KASS - Keep APEX Stupid Simple
MT AG - KASS - Keep APEX Stupid Simple
Niels de Bruijn974 views
MT AG Möglichkeiten mit PhoneGap in verbindung mit APEX 4.2. by Niels de Bruijn
MT AG Möglichkeiten mit PhoneGap in verbindung mit APEX 4.2.MT AG Möglichkeiten mit PhoneGap in verbindung mit APEX 4.2.
MT AG Möglichkeiten mit PhoneGap in verbindung mit APEX 4.2.
Niels de Bruijn942 views
MT AG 8 Gute Gründe warum Forms zu APEX by Niels de Bruijn
MT AG 8 Gute Gründe warum Forms zu APEXMT AG 8 Gute Gründe warum Forms zu APEX
MT AG 8 Gute Gründe warum Forms zu APEX
Niels de Bruijn1.4K views
MT AG Rapid Application Development mit APEX 5 (Important: latest version on ... by Niels de Bruijn
MT AG Rapid Application Development mit APEX 5 (Important: latest version on ...MT AG Rapid Application Development mit APEX 5 (Important: latest version on ...
MT AG Rapid Application Development mit APEX 5 (Important: latest version on ...
Niels de Bruijn5.4K views

Recently uploaded

Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...ShapeBlue
132 views15 slides
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueShapeBlue
176 views20 slides
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T by
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TShapeBlue
112 views34 slides
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...ShapeBlue
98 views29 slides
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...ShapeBlue
123 views28 slides
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlueShapeBlue
103 views23 slides

Recently uploaded(20)

Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue132 views
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue176 views
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T by ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue112 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue98 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue123 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue103 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue154 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10126 views
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive by Network Automation Forum
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLiveAutomating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Automating a World-Class Technology Conference; Behind the Scenes of CiscoLive
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue85 views
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue158 views
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker50 views
State of the Union - Rohit Yadav - Apache CloudStack by ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue253 views
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc160 views
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... by ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue79 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue166 views
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O... by ShapeBlue
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
ShapeBlue88 views
Future of AR - Facebook Presentation by Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty62 views
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue93 views

Affordable Workflow Options for APEX

  • 1. Affordable Workflow Options for your APEX App Niels de Bruijn March 30th, 2017
  • 2. Affordable Workflow Options for Your APEX App 2 Facts & Figures Independent Technology House with Cross-Industry Expertise Headquarter Ratingen (North Rhine – Westphalia) 240 employed Founded 1994 Branches Dortmund, Cologne, Frankfurt am Main Top Company for Trainees & Students Privately- Owned Corporation Oracle Platinum Partner 28 Mio. Euro Revenue
  • 3. Affordable Workflow Options for Your APEX App 3 About me § Niels de Bruijn, Business Unit Manager APEX § Born in 1977, married, three daughters, living in Ratingen § Working for MT AG since DEC-2003 § After working for 2 years as Oracle consultant for Oracle Nederland B.V. § Track record with APEX since its inception § Responsible for all APEX activity in the company § Knowledge Portal: apex.mt-ag.com § Presenting at Kscope, DOAG Conference, APEX Connect and Open World amongst others § ODTUG - Part of APEX Content Committee for Kscope § DOAG – Initiator & Conference Chair of APEX Connect
  • 4. Affordable Workflow Options for Your APEX App § About workflow in APEX § Affordable workflow options for your APEX app § Spotlight: APEX & Camunda Community Edition § How it works § Live Demo § Modelling your workflow with bpmn.io § What did we learn? Agenda
  • 5. Affordable Workflow Options for Your APEX App § Which workflow?! There simply is no workflow feature in APEX (up to 5.1). § Also nothing planned for APEX 5.2 § First thought: Hardcoding your workflow with PL/SQL (DON‘T DO THIS!) § Option 1: Define your workflow definition in tables § PL/Flow § Flow Control § Option 2: Integrate Camunda 5 Affordable workflow options for your APEX app
  • 6. Affordable Workflow Options for Your APEX App § PL/Flow from Yeb Havinga (http://plflow.sourceforge.net) + Easy to install, 100% PL/SQL incl. PL/SQL API + Open Source - No graphical interface to maintain the workflow - Not standardized (no BPMN support) - No updates since its last release in 2004 § Flow Control from Jürgen Sieben (https://github.com/j-sieben/FCT) + Easy to install, 100% PL/SQL incl. PL/SQL API + Open Source + Released in JUN-2016, actively maintained by Jürgen Sieben - No graphical interface to maintain the workflow - Not standardized (no BPMN support) 6 Option 1: Workflow definition in tables
  • 7. Affordable Workflow Options for Your APEX App 7 APEX & Flow Control: Live Demo
  • 8. Affordable Workflow Options for Your APEX App What if your requirements go one step further? § BPMN 2.0 support § Graphical Interface (both design-time as well as run-time) to document the process incl. manual steps § Tool to monitor processes § Support-Option available 8 Option 2: Workflow definition in BPMN (WYSIWYG)
  • 9. Affordable Workflow Options for Your APEX App § Camunda as run-time Engine (camunda.org) § Fork of activiti § Regularly updated § Large team working on it (HQ based in Berlin) § Open Source § Supports various standards like BPMN 2.0, CMMN 1.1 and DMN 1.1 § Available in two editions: free Community Edition & Enterprise Edition 9 Option 2: Camunda Community Edition Source: camunda.com (3-MAR-2017)
  • 10. Affordable Workflow Options for Your APEX App § Some usefull (Java) Apps can be installed to monitor processes, administrate users, etc. 10 Option 2: Camunda Community Edition
  • 11. Affordable Workflow Options for Your APEX App 11 APEX & Camunda: Live Demo Run-Time
  • 12. Affordable Workflow Options for Your APEX App 12 APEX and Camunda: how it works Optional: Camunda Apps (ie. Cockpit) ORDS REST-API APEX Workspace Schema APEX Metadata Repository Camunda Metadata Repository Oracle DatabaseBrowser read-out process status initiate process Apache Tomcat bpmn-viewer.js
  • 13. Affordable Workflow Options for Your APEX App § REST Web Service call § All logic stays in APEX: we tell Camunda what to do in which case 13 APEX and Camunda: instantiating a process with APEX my_process
  • 14. Affordable Workflow Options for Your APEX App 1. Read out the BPMN definition (XML file) from the metadata repository select gby.bytes_ from act_ge_bytearray gby , act_re_procdef rpf where gby.deployment_id_ = rpf.deployment_id_ and rpf.key_ = 'recruitment-procedures' order by rpf.version_ desc fetch first 1 rows only 2. Use bpmn-viewer.js to render the process (SVG) 14 APEX and Camunda: show process status
  • 15. Affordable Workflow Options for Your APEX App 3. Use custom JavaScript to highlight current state: //Highlight current status function markUp(temp){ var parent = document.getElementById(temp); parent.childNodes[0].childNodes[0].setAttribute("style", "stroke: #056693; stroke- width: 4; fill: #b5e6fd"); } var dlCheck = $('#P2_DL').val(); //P2_DL contains the PK of the APEX table if (dlCheck != ''){ var element = $('#P2_ST').val() //P2_ST contains the CSS ID of the element markUp(element); }; 15 APEX and Camunda: show process status
  • 16. Affordable Workflow Options for Your APEX App § APEX user is passed to Camunda for auditing purposes select hi.proc_def_key_ as Process_Definition , hi.proc_inst_id_ as Process_Key , hi.assignee_ as Approved_By , hi.act_name_ as Task , hi.start_time_ as Start_Time , hi.end_time_ as End_Time , apx.candidate as Candidate from act_hi_actinst hi , act_ru_variable ru , act_apx_cam_variable apx where hi.proc_inst_id_ = ru.proc_inst_id_ and apx.id = ru.text_ and hi.act_type_ = 'userTask' and ru.name_ = 'id' order by hi.start_time_ desc ; 16 APEX and Camunda: show history
  • 17. Affordable Workflow Options for Your APEX App 17 About BPMN 2.0 See all on https://camunda.org/bpmn/reference/
  • 18. Affordable Workflow Options for Your APEX App § https://bpmn.io § Open Source Tool to model your workflows § Works locally in your browser or can be part of your app § Your work is saved in BPMN 2.0 (XML) 18 Modelling your workflow with bpmn.io
  • 19. Affordable Workflow Options for Your APEX App 19 bpmn.io: Live Demo
  • 20. Affordable Workflow Options for Your APEX App § Web Service call 20 Deploying a new process using a REST client in Chrome
  • 21. Affordable Workflow Options for Your APEX App § There is no workflow feature in APEX 5.x and nothing such is planned for the near future § Use Workflow Control if § you don‘t need BPMN 2.0 support § you don‘t need to visualize or graphically design the workflow § Otherwise go for Camunda Community Edition § It integrates seemlessly with APEX and doesn‘t cost you anything (other than time) § Supports all standards (so you can migrate to another product if needed) § Enables you to visualize and graphically design your workflow process 21 What did we learn?