Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Joget Workflow v4 Training - Module 12 - Version Control

710 views

Published on

This is the complete listing of available modules.
1 - Introduction to Joget Workflow
2 - Setting up Joget Workflow
3 - Designing your first Process on Joget Workflow
4 - Localizing your Joget Workflow
5 - Designing your first Form on Joget Workflow
6 - Using your first Process Tool – Email
7 - Designing your first Datalist on Joget Workflow
8 - Designing your first Userview on Joget Workflow
9 - Hash Variable
10 - Permission Control
11 - SLA and Deadlines
12 - Version Control
13 - Improving your Form design and Presentation
14 - Introduction to Reporting
15 - Introduction to Plugin Architecture
16 - Preparing Development Environment
17 - Building a Plugin
18 - Integrating with External System
19 - Doing more with your Process Design
20 - Basic System Administration
21 - Userview Key
22 - Best Practices on Application Building -

You may checkout the training screencast of this training at http://www.joget.org/joget-workflow-v4-training/

Published in: Software
  • Be the first to comment

  • Be the first to like this

Joget Workflow v4 Training - Module 12 - Version Control

  1. 1. All Rights Reserved © Joget Inc Joget Workflow v4 Version Control http://facebook.com/jogetworkflow http://twitter.com/jogetworkflow Last Revised on March 2015Joget Inc Internal Use Only
  2. 2. All Rights Reserved © Joget Inc Prerequisites 1. Good understanding on concept of Application in Joget with the know-hows to create Process, Form, List, and Userview. 2. Basic understanding on versioning. Joget Inc Internal Use Only
  3. 3. All Rights Reserved © Joget Inc Content 1. Introduction to Version Control 2. Process Version Control 3. Application Version Control Joget Inc Internal Use Only
  4. 4. All Rights Reserved © Joget Inc Chapter 1 Introduction to Version Control Joget Inc Internal Use Only
  5. 5. All Rights Reserved © Joget Inc Version Control • There are 2 types of version controls available in Joget App management. They are:- – Application Version – Process Version Open Dynamics Internal Use Only
  6. 6. All Rights Reserved © Joget Inc Version Control • Which, when and how do we make use of version control? – Process Design Fixes or Update – Application Form / List / Userview design update Open Dynamics Internal Use Only
  7. 7. All Rights Reserved © Joget Inc Version Control • Updating Process version – Updates only the Processes under the current Application version. – Updates existing running instances of the processes found under the current Application version to the new process design. • Updating Application version – Makes a copy of the Processes, Forms, Lists, Userviews of the current version to the new version. – Includes all the Processes, Forms, Datalists, and Userviews. – Does NOT affect any running process instances. Open Dynamics Internal Use Only
  8. 8. All Rights Reserved © Joget Inc Version Control Action / Components Update Process Version Update Application Version Process   Form  List  Userview  Application Settings  Open Dynamics Internal Use Only
  9. 9. All Rights Reserved © Joget Inc Version Control App Version Process Version 1 1 1 2 2 3 2 4 +1 Update application version Update process version Open Dynamics Internal Use Only Update process version +1 +1 +1
  10. 10. All Rights Reserved © Joget Inc Version Control App Version Process Version Migrate existing running instances of the current App version to new Process version 1 1 1 2 • Yes (All that are created under current App version) 2 3 • No 2 4 • Yes (All that are created under current App version) • Will not affect instances of App version 1) Update application version Update process version Open Dynamics Internal Use Only Update process version
  11. 11. All Rights Reserved © Joget Inc Use Cases • Updating the Process version is ideal when:- 1. Urgent update to process design flaw. • Updating the Application version is ideal when:- 1. Application is ready to be pushed to production. 2. Completed design ready to be backed up as a version/backup before moving on to the next iteration of development. Joget Inc Internal Use Only
  12. 12. All Rights Reserved © Joget Inc Chapter Review • Understand the various types of version control. Joget Inc Internal Use Only
  13. 13. All Rights Reserved © Joget Inc Chapter 2 Process Version Control Joget Inc Internal Use Only
  14. 14. All Rights Reserved © Joget Inc Process Version • Process version consists of the Process in the current Application version. • There may be multiple process versions tagged to one Application version. • However, there can be only one Process Version (the latest) in a Application version at any point of time. • It is NOT possible to rollback to earlier process version in the same application version. Joget Inc Internal Use Only
  15. 15. All Rights Reserved © Joget Inc Version Control Action / Components Update Process Version Update Application Version Process   Form  List  Userview  Application Settings  Open Dynamics Internal Use Only
  16. 16. All Rights Reserved © Joget Inc Version Control App Version Process Version 1 1 1 2 2 3 2 4 +1 Update application version Update process version Open Dynamics Internal Use Only Update process version +1 +1 +1
  17. 17. All Rights Reserved © Joget Inc How to Update Process Version? • Upon deployment from the Workflow Designer. • Update via Saved XPDL from the application designer. Joget Inc Internal Use Only
  18. 18. All Rights Reserved © Joget Inc Migration of Process Instances • On the event of process update, process instances that are still running on the current process version will be migrated/updated to the latest process version. The follow steps will take place:- 1. Abort pending process instances. 2. New process instances will be created. 3. Resume by matching previous pending activities IDs with the new Process version’s design. Joget Inc Internal Use Only
  19. 19. All Rights Reserved © Joget Inc Important Note • If there’s NO matching activity(ies) that can be matched, Joget will NOT be able to resume the aborted process instances. More reading at http://dev.joget.org/community/display/KBv4/Update+Existing+Running+Process+Instanc es+to+the+Newer+Process+Flow+After+Process+Changes Joget Inc Internal Use Only
  20. 20. All Rights Reserved © Joget Inc Important Note • The newly created activity instances will continue to function as if nothing has changed and should be transparent to the end users. • Resumed activities will continue to use previously mapped form. Joget Inc Internal Use Only
  21. 21. All Rights Reserved © Joget Inc Important Note • If there’s new activity(ies)/tool(s) being added to the new process design. One shall need to configure the mapping(s) accordingly. Joget Inc Internal Use Only
  22. 22. All Rights Reserved © Joget Inc Chapter Review • Understand on how Process Version works. • Understand its implications on existing running process instances. Joget Inc Internal Use Only
  23. 23. All Rights Reserved © Joget Inc Chapter 3 Application Version Control Joget Inc Internal Use Only
  24. 24. All Rights Reserved © Joget Inc Application Version • Application version consists of the following:- – Processes – Forms – Lists – Userviews • Each Application version would contain only one Process version (the latest) at any point of time. Joget Inc Internal Use Only
  25. 25. All Rights Reserved © Joget Inc Version Control Action / Components Update Process Version Update Application Version Process   Form  List  Userview  Application Settings  Open Dynamics Internal Use Only
  26. 26. All Rights Reserved © Joget Inc Version Control App Version Process Version 1 1 1 2 2 3 2 4 +1 Update application version Update process version Open Dynamics Internal Use Only Update process version +1 +1 +1
  27. 27. All Rights Reserved © Joget Inc How to Update Application Version? 1. App Designer > Versions > Select version > New Version • Online Reference: http://dev.joget.org/community/display/KBv4/App+Versioning+and+Publishing Joget Inc Internal Use Only
  28. 28. All Rights Reserved © Joget Inc How to Update Application Version? 2. Import App – By importing the app into a Joget server, the Application Version will increase by 1 over the existing version already in the server. Joget Inc Internal Use Only
  29. 29. All Rights Reserved © Joget Inc Application Published state • With more than 1 version available for the same Application in a Joget server, it is now possible to toggle between versions. Joget Inc Internal Use Only
  30. 30. All Rights Reserved © Joget Inc Published Application Version • New process instances created will be based on the Published version. • All elements accessed by end users will also be based on the Published version except for:- – For Process Instances created under different Application version, users will continue to use the Forms tied to the specific Application version for its assignments. Joget Inc Internal Use Only
  31. 31. All Rights Reserved © Joget Inc Important Note • By increasing the Application Version, the Application Version will be increased as well. Joget Inc Internal Use Only
  32. 32. All Rights Reserved © Joget Inc Exercise on Version Control 1. Create a new Joget Application with a Process, Form and Userview. 2. Run the Application, create a new process Instance. 3. Update the Process Design and observe the changes. 4. Increase the Application Version by creating a new version. 5. Modify the Process and Form, create new process instance and observe the changes. 6. Compare the old and new process instances. Joget Inc Internal Use Only
  33. 33. All Rights Reserved © Joget Inc Chapter Review • Understand how to manage Application Version and its impact. Joget Inc Internal Use Only
  34. 34. All Rights Reserved © Joget Inc Module Review 1. Introduction to Version Control 2. Process Version Control 3. Application Version Control Joget Inc Internal Use Only
  35. 35. All Rights Reserved © Joget Inc Recommended Further Learning • http://dev.joget.org/community/display/KBv4/App+Versi oning Joget Inc Internal Use Only
  36. 36. All Rights Reserved © Joget Inc Stay Connected with Joget Workflow • www.joget.org • community.joget.org • twitter.com/jogetworkflow • facebook.com/jogetworkflow • youtube.com/jogetworkflow • slideshare.net/joget Joget Inc Internal Use Only

×