SlideShare a Scribd company logo
1 of 61
Joomla 4 Workflow
By Tim Plummer
Joomla Australia
September 15th 2020
Workflow is a sequence of
steps a piece of content
passes from initiation to
completion.
Joomla 3 Content Workflow
Author Administrator
Content states in Joomla 3
What if we want more approval steps?
Author
Or maybe something more complex?
Can’t do that in Joomla 3
But let’s see what Joomla 4 can do
The Publishing Workflow
component is used to replace
static states (unpublished, published,
trashed and archived) with a more
generic approach.
This way you can easily
create a customized
workflow to manage your
articles within a component.
Terminology
State/Stage– published, unpublished, trashed, archived
Transitions– move one state to another
What if instead of content we built an app?
Lets do it, using only core Joomla 4 features
(no third party extensions)
Note that Joomla 4 is still in Beta, so don’t use
on live sites yet.
Create a new category
Also set access to registered so only logged in users can fill out form.
Create a custom fields group
Just a reminder that
Custom fields were added
to core Joomla in version
3.7 (April 2017)
Make sure they are assigned to the category and field group we created
Create custom fields
If you want to learn more about custom
fields, watch August 2020 presentation with
Marc Dechèvre on Joomla! Custom Fields
https://www.youtube.com/watch?v=qTayrSABbpg
Create user groups
• Create a user group for the different people who
will be interacting with this workflow
Where is my Workflow?
Out of the box,
Workflow feature is
turned off in Joomla 4
Enable Workflow feature
• Content->Articles->Options->Integration->Enable Workflow
Now you can see Workflows under Content
Add a new Workflow
Edit the Workflow Stages
Rename existing Stages if required
In our example, rename Basic Stage to Level 1 Helpdesk
Default = initial stage
Add workflow Stages
Set up the Workflow Transitions
Add your Transitions
• Give each a name, and decide which Stage can
transition to a specific stage.
Add your Transitions
• Set the publishing state for this transition
Add your Transitions
• Turn on email notification (if required), and choose who it goes to
Add your Transitions
Also decide who can move to next stage
Transitions
• Each Workflow step should have a stage
Set the workflow for your category
Check ACL Permissions
• Assign the appropriate permissions to the groups you created
• Content->Categories->Support Request->Permissions
Check ACL Permissions
Article Permissions (com_content)
• Adjust article permissions for your new groups
(especially edit custom field value)
Now add a menu item for front end
You only see this menu item if you are logged in
This looks too much like an article
Create Override for article form in your template
Customise as required
/yourtemplate/html/com_content/form/edit.php and customise look for this category
Note this is the geeking coding bit
that a regular Joomla user
wouldn’t be able to do. Maybe in
future there will be an easier way.
Create a My Support Requests view
Note: You can adjust what columns you see on the List Layouts tab.
My Leave Applications view
You could take this even further with an override and customise to include columns such as
workflow state
The view form looks pretty ordinary
Override the view form with alternate layout
Override the view form with alternate layout
/yourtemplate/html/com_content/article/default.php and rename as supportapp.php
Edit as required, then assign that layout to your menu item
Another geeking coding bit that
a regular Joomla user may not
be able to do.
Override the view form with alternate layout
You can also use Access Levels (optional)
• If you want to further restrict access, use
access levels which you can apply to menu
item and category
Set up some test users
Create at least one person for each role to test it out
Now let’s see it in action
Customer creates a Support Request. It goes to
Level 1 Helpdesk for review
Only transition (in this case status) is to send to
Level 1 Helpdesk
Level 1 Helpdesk step
When sent to helpdesk, they can reject, escalate,
complete, or request more information
Note if customer logs in, they don’t
see the helpdesk transition states
Or if Level 2 Support logs in, they
can’t reject, ask for more info or
complete, they can only escalate.
Level 2 support step
• Level 2 support can now resolve the issue and
transition the next state
Customer confirm step
• Customer can now reopen if issue is not
resolved, or mark as complete.
Support Request Complete
• No further action required, but record could be
deleted or archived later if needed
Limitations
• Can’t send transition emails to author, only groups or specific people
• Need coding skills to override form and view
• All the records are saved in com_content (Joomla articles)
• Users can see all records in My Support Requests view, not just their
own (can be fixed with layout override)
• Records can get stuck “checked out” to user
Questions
Tim Plummer
https://timplummer.com.au
@bfsurvey

More Related Content

What's hot

Joomla basic-iii undersrtanding-installing-configuring-joomla-extensions
Joomla basic-iii undersrtanding-installing-configuring-joomla-extensionsJoomla basic-iii undersrtanding-installing-configuring-joomla-extensions
Joomla basic-iii undersrtanding-installing-configuring-joomla-extensions
Chanratha Sorn
 
Joomla! Templates - Sydney
Joomla! Templates - SydneyJoomla! Templates - Sydney
Joomla! Templates - Sydney
joomladex
 
Blogging with joomla
Blogging with joomlaBlogging with joomla
Blogging with joomla
Oslworkshop
 
Blogs ppt
Blogs pptBlogs ppt
Blogs ppt
home
 

What's hot (18)

Joomla SEO basics 2016
Joomla SEO basics 2016Joomla SEO basics 2016
Joomla SEO basics 2016
 
How to customise Joomla
How to customise JoomlaHow to customise Joomla
How to customise Joomla
 
Mautic landing page setup & case study
Mautic landing page setup & case studyMautic landing page setup & case study
Mautic landing page setup & case study
 
WordPress Basics
WordPress BasicsWordPress Basics
WordPress Basics
 
Whats new in joomla 3.5 & whats coming in future
Whats new in joomla 3.5 & whats coming in futureWhats new in joomla 3.5 & whats coming in future
Whats new in joomla 3.5 & whats coming in future
 
Custom Fields in Joomla - JoomlaDay UK 2016 - Marco Dings
Custom Fields in Joomla - JoomlaDay UK 2016 - Marco DingsCustom Fields in Joomla - JoomlaDay UK 2016 - Marco Dings
Custom Fields in Joomla - JoomlaDay UK 2016 - Marco Dings
 
Joomla basic-iii undersrtanding-installing-configuring-joomla-extensions
Joomla basic-iii undersrtanding-installing-configuring-joomla-extensionsJoomla basic-iii undersrtanding-installing-configuring-joomla-extensions
Joomla basic-iii undersrtanding-installing-configuring-joomla-extensions
 
FileMaker Scripting Best Practices
FileMaker Scripting Best PracticesFileMaker Scripting Best Practices
FileMaker Scripting Best Practices
 
Joomla! Templates - Sydney
Joomla! Templates - SydneyJoomla! Templates - Sydney
Joomla! Templates - Sydney
 
Workingwith blogs
Workingwith blogsWorkingwith blogs
Workingwith blogs
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Cross CMS plugin development using AWF
Cross CMS plugin development using AWFCross CMS plugin development using AWF
Cross CMS plugin development using AWF
 
Grow nextgen enhancements
Grow nextgen enhancementsGrow nextgen enhancements
Grow nextgen enhancements
 
Joomla! 1.6 the highlights
Joomla! 1.6 the highlightsJoomla! 1.6 the highlights
Joomla! 1.6 the highlights
 
Blogging with joomla
Blogging with joomlaBlogging with joomla
Blogging with joomla
 
Blogging ppt 2014
Blogging ppt 2014Blogging ppt 2014
Blogging ppt 2014
 
Lab2 RTC Work Items
Lab2 RTC Work ItemsLab2 RTC Work Items
Lab2 RTC Work Items
 
Blogs ppt
Blogs pptBlogs ppt
Blogs ppt
 

Similar to Aujug 2020 joomla 4 workflow

Wordpress Ultimate CSV Importer Pro Plugin Manual
Wordpress Ultimate CSV Importer Pro Plugin ManualWordpress Ultimate CSV Importer Pro Plugin Manual
Wordpress Ultimate CSV Importer Pro Plugin Manual
Smackcoders, Inc.
 

Similar to Aujug 2020 joomla 4 workflow (20)

Using advanced features in joomla
Using advanced features in joomlaUsing advanced features in joomla
Using advanced features in joomla
 
Joomla Tutorial: Joomla 2.5 a first look
Joomla Tutorial: Joomla 2.5 a first lookJoomla Tutorial: Joomla 2.5 a first look
Joomla Tutorial: Joomla 2.5 a first look
 
24 - Panorama Necto 14 administration - visualization & data discovery solution
24  - Panorama Necto 14 administration - visualization & data discovery solution24  - Panorama Necto 14 administration - visualization & data discovery solution
24 - Panorama Necto 14 administration - visualization & data discovery solution
 
Joomla 1.5 Quick Start
Joomla 1.5 Quick StartJoomla 1.5 Quick Start
Joomla 1.5 Quick Start
 
Ocodewire product_category_page_comment_extension_demo
Ocodewire product_category_page_comment_extension_demoOcodewire product_category_page_comment_extension_demo
Ocodewire product_category_page_comment_extension_demo
 
The Joy of Subforms with Randy Carey
The Joy of Subforms with Randy CareyThe Joy of Subforms with Randy Carey
The Joy of Subforms with Randy Carey
 
Mother May I?
Mother May I?Mother May I?
Mother May I?
 
WordPress Upgrades: Read, Set, Go!
WordPress Upgrades: Read, Set, Go!WordPress Upgrades: Read, Set, Go!
WordPress Upgrades: Read, Set, Go!
 
Wordpress Ultimate CSV Importer Pro Plugin Manual
Wordpress Ultimate CSV Importer Pro Plugin ManualWordpress Ultimate CSV Importer Pro Plugin Manual
Wordpress Ultimate CSV Importer Pro Plugin Manual
 
How to Use OnEdu Forms?
How to Use OnEdu Forms?How to Use OnEdu Forms?
How to Use OnEdu Forms?
 
Joomla! 2,5 ACL- A use case
Joomla! 2,5 ACL- A use caseJoomla! 2,5 ACL- A use case
Joomla! 2,5 ACL- A use case
 
HelpDesk Training Manual
HelpDesk Training ManualHelpDesk Training Manual
HelpDesk Training Manual
 
DF2UFL 2012: Workflows: Making the MOST of Salesforce.com Native Functionality
DF2UFL 2012: Workflows: Making the MOST of Salesforce.com Native FunctionalityDF2UFL 2012: Workflows: Making the MOST of Salesforce.com Native Functionality
DF2UFL 2012: Workflows: Making the MOST of Salesforce.com Native Functionality
 
Odoo Technical Tips
Odoo Technical TipsOdoo Technical Tips
Odoo Technical Tips
 
Opencart Blog Pro Extension | 59% OFF
Opencart Blog Pro Extension | 59% OFFOpencart Blog Pro Extension | 59% OFF
Opencart Blog Pro Extension | 59% OFF
 
Lab5 RTC reports and Dashboards
Lab5 RTC reports and DashboardsLab5 RTC reports and Dashboards
Lab5 RTC reports and Dashboards
 
Salesforce Summer'13 - Chennai DUG
Salesforce Summer'13 - Chennai DUGSalesforce Summer'13 - Chennai DUG
Salesforce Summer'13 - Chennai DUG
 
Intro to Joomla!
Intro to Joomla!Intro to Joomla!
Intro to Joomla!
 
Lab3 RTC Source Control
Lab3 RTC Source ControlLab3 RTC Source Control
Lab3 RTC Source Control
 
The benefits of using Git
The benefits of using GitThe benefits of using Git
The benefits of using Git
 

More from Tim Plummer

Extension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with JoomlaExtension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with Joomla
Tim Plummer
 
Introduction to building joomla! components using FOF
Introduction to building joomla! components using FOFIntroduction to building joomla! components using FOF
Introduction to building joomla! components using FOF
Tim Plummer
 

More from Tim Plummer (19)

How to fix a hacked site and harden June 2019
How to fix a hacked site and harden June 2019How to fix a hacked site and harden June 2019
How to fix a hacked site and harden June 2019
 
Lessons from the other side
Lessons from the other sideLessons from the other side
Lessons from the other side
 
Getting the most from your social media posts on facebook and instagram
Getting the most from your social media posts on facebook and instagramGetting the most from your social media posts on facebook and instagram
Getting the most from your social media posts on facebook and instagram
 
Tips for site builders and administrators
Tips for site builders and administratorsTips for site builders and administrators
Tips for site builders and administrators
 
Joomla 4.0 what's coming in future
Joomla 4.0   what's coming in futureJoomla 4.0   what's coming in future
Joomla 4.0 what's coming in future
 
What’s new in joomla 3.7
What’s new in joomla 3.7What’s new in joomla 3.7
What’s new in joomla 3.7
 
Simplify your Joomla user registration form
Simplify your Joomla user registration formSimplify your Joomla user registration form
Simplify your Joomla user registration form
 
Maintaining a joomla website - Canberra
Maintaining a joomla website - CanberraMaintaining a joomla website - Canberra
Maintaining a joomla website - Canberra
 
What's new in joomla! 3.5 - 8th Nov 2015
What's new in joomla! 3.5 - 8th Nov 2015What's new in joomla! 3.5 - 8th Nov 2015
What's new in joomla! 3.5 - 8th Nov 2015
 
Growing your business by hiring an offshore staff member
Growing your business by hiring an offshore staff memberGrowing your business by hiring an offshore staff member
Growing your business by hiring an offshore staff member
 
Joomla SEO June 2015 - Sydney Joomla User Group
Joomla SEO June 2015 - Sydney Joomla User GroupJoomla SEO June 2015 - Sydney Joomla User Group
Joomla SEO June 2015 - Sydney Joomla User Group
 
State of play for Joomla - Nov 2014
State of play for Joomla - Nov 2014State of play for Joomla - Nov 2014
State of play for Joomla - Nov 2014
 
Extension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with JoomlaExtension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with Joomla
 
Rapid application development for WordPress using AWF
Rapid application development for WordPress using AWFRapid application development for WordPress using AWF
Rapid application development for WordPress using AWF
 
Introduction to building joomla! components using FOF
Introduction to building joomla! components using FOFIntroduction to building joomla! components using FOF
Introduction to building joomla! components using FOF
 
What's new in joomla! 3.3
What's new in joomla! 3.3What's new in joomla! 3.3
What's new in joomla! 3.3
 
Rapid application development using Akeeba FOF and Joomla 3.2
Rapid application development using Akeeba FOF and Joomla 3.2Rapid application development using Akeeba FOF and Joomla 3.2
Rapid application development using Akeeba FOF and Joomla 3.2
 
Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013
Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013
Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013
 
How to create a joomla component from scratch
How to create a joomla component from scratchHow to create a joomla component from scratch
How to create a joomla component from scratch
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Aujug 2020 joomla 4 workflow