Learn about our experience with our very first project using Alfresco Process Services (APS), in combination with Alfresco Content Services (ACS) and the Application Development Framework (ADF), running the platform on docker. What challenges did we encounter and how did we resolve them.
5. Learn. Connect. Collaborate.
Goal
• Share our experiences
• Explain our challenges
• So you can learn and do better
Process Services: Our first experience
6. Learn. Connect. Collaborate.
Overview
• Old project
• Our first APS project
– Renew the old project
– Solution design
• Challenges
– General challenges
– Implementation challenges
• Summary
9. Learn. Connect. Collaborate.
Old project
Customer
A big library with online content in
XML format
Published on an online platform
10. Learn. Connect. Collaborate.
Old project
Customer
• Authors write new
online content
• Update existing
content
Reviewers
• Experts
• Reviewers review
the work of the
authors
Authors
11. Learn. Connect. Collaborate.
Old project
Goal
Deliver and implement a content management
solution with integrated workflow and editing
functionality
16. Learn. Connect. Collaborate.
New project
Goal
Customer wants to renew and simplify their
business processes in order to gain more insight,
make it less dependent on customizations, increase
process flexibility and user friendliness
22. Learn. Connect. Collaborate.
• The ADF dashboard shows the user directly
what work he needs to do
• Task oriented
• More user friendly
• Easier to extend to the customer’s needs
Our first APS
project
23. Learn. Connect. Collaborate.
Our first APS
project
Use the full Digital Business Platform of Alfresco
• Process services (APS)
• Content services (ACS)
• Application Development Framework (ADF)
In a dockerized environment
38. Learn. Connect. Collaborate.
• ADF makes an API call to start the process
• Passes the file name and node ID
• Stored as variables in the process
Challenges
Get file into APS
How to get the file details into APS?
Start from of the process
39. Learn. Connect. Collaborate.
Challenges
Get file into APS
• The process is started
• The file details are known to the process
• The file is not stored in the process
• ACS is the owner of the document
41. Learn. Connect. Collaborate.
Challenges
Edit file online in
MS Word
First challenge:
Transform XML into MS Word file
• Call a custom REST API
• Calls the transformation service of the customer
• Places the created MS Word file in ACS
• Returns the file information
– Node id
43. Learn. Connect. Collaborate.
Challenges
Edit file online in
MS Word
Solution: Stencils
• Create a custom form field ‘edit_in_word’
• An ADF component should be built to replace this
custom form field
52. Learn. Connect. Collaborate.
Challenges
Docker
We had a lot of help from the customer
• A challenge to make a production ready
environment
• How to make sure the docker-compose file is all
properly set-up
Lesson learned:
Docker is complex - use
an expert
53. Learn. Connect. Collaborate.
Challenges
Docker
Images used:
• Custom ACS image
– Alfresco did not offer a 5.2 image
• Default APS 1.9 image from Alfresco
• Default Alfresco Search Services image
• Two MySQL databases
54. Learn. Connect. Collaborate.
• Standard APS reporting could not deliver the
wanted reports
• Because reporting was needed on custom
variables
Challenges
Reporting
Requirement:
Report on processes per chapter
55. Learn. Connect. Collaborate.
• Explained the data model to the customer
Challenges
Reporting
BI Consultant from
Incentro
BI Expert from
Customer
58. Learn. Connect. Collaborate.
Summary
• Our first APS project was an experience
– Learned a lot by just doing it
• Think of nice out-of-the-box solutions
– Combining ACS-ADF and APS