Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

บทความนี้จะอธิบายวิธีการสร้างและเผยแพร่ Joget Workflow เวอร์ชันใหม่ ในขณะที่ยังคงเก็บเวอร์ชันเก่าเอาไว้

1.ไปที่ส่วนหน้าของแอป ในตัวอย่างนี้ เราใช้แอปพลิเคชันการออกใบแจ้งหนี้

Image Added
คลิกเวอร์ชัน (Version) เพื่อไปยังหน้า จัดการเวอร์ชันของแอป (Manage App Version)


2.หาปุ่ม เวอร์ชันใหม่ (New Version) เพื่อสร้างแอปเวอร์ชันใหม่

This article will explain how to create a new version of a Joget Workflow app and then published the new version, while keeping the old version as back up.

1. Navigate to the app front-end. In this example, we are using the Invoicing App.

Image Removed
Click on "Version" to navigate into the "Manage App Version" page.

2.Locate the "New Version" button to create a new version of the app.

 

3.After you click on the "New Version" button, a pop-up dialog will prompt you to confirm that you want to create a new version of the app.

Image Removed
Click on "OK" to proceed to create a new version.

4.After a new version of the App has been created, you will be redirected to the app front-end.

Image Removed
You can see that a 2nd version of the Invoicing App has been created. From the screenshot, you can see that the app is still not published as indicated by the label "v2 Not Published". At this point, your users are still using the old version until you publish this new version. Now, click on the "Not Published" label to publish the new version.

 

5. After you click on the label, the "Manage App Version" pop-up window will reappear. Select "Version 2" and click on the "Publish" button to publish the new version.

Image Removed

 

6. When the new version is published, you will be redirect to the following screen.

Image Removed
Now the "v2 Not Published" has been updated to "v2 Published".

7.Click on the "v2 Published" to access the "Manage App Version" screen. You will be able to roll-back to the older version if you like. Just select v1 and click on "Publish".

Image Removed

 

8. The following shows a screenshot of an app with many version of the app.

Image Removed

หลังจากคลิกปุ่มเวอร์ชันใหม่ (New Version) จะมีข้อความให้คุณยืนยันการสร้างแอปเวอร์ชันใหม่

Image Added

คลิกที่ OK เพื่อดำเนินการสร้างเวอร์ชันใหม่

 

4.หลังจากสร้างแอปเวอร์ชันใหม่แล้วระบบจะเปลี่ยนเส้นทางไปยังส่วนหน้าแอป

Image Added
คุณจะเห็นว่ามีการสร้างแอปออกใบแจ้งหนี้ฉบับที่ 2 แล้ว จากภาพคุณจะเห็นได้ว่าแอปพลิเคชันยังไม่ได้เผยแพร่ตามที่ระบุไว้ v2 Not Published ตรงจุดนี้คุณยังคงใช้เวอร์ชันเดิมจนกว่าจะเผยแพร่เวอร์ชันใหม่ คลิก Not Published เพื่อเผยแพร่เวอร์ชันใหม่

 

5. หลังจากคลิก Not Published แล้ว หน้าต่าง Manage App Version จะขึ้นมาอีกครั้ง เลือก เวอร์ชัน 2 แล้วคลิกที่ปุ่ม Publish เพื่อเผยแพร่เวอร์ชันใหม่Image Added

 

6. เมื่อมีการเผยแพร่เวอร์ชันใหม่แล้ว จะมีหน้าจอดังต่อไปนี้ขึ้นมา

Image Added

ขณะนี้ v2 Not Published ได้รับการอัปเดตเป็น v2 Published แล้ว

 

7.คลิกที่ v2 Published เพื่อเข้าถึงหน้าจอ Manage App Version คุณจะสามารถกลับไปใช้เวอร์ชันเก่าได้หากต้องการ เพียงแค่เลือก v1 แล้วคลิกที่ Publish

Image Added

 

8. ภาพแสดงหน้าจอ Manage App Version ที่มีแอปพลิเคชันหลายเวอร์ชัน

Image Added

เราขอแนะนำให้ผู้ใช้เปลี่ยนแอปไปยังเวอร์ชันใหม่ๆ เมื่อไรก็ตามที่ต้องการเปลี่ยนแปลงแอป นอกจากนี้ยังมั่นใจได้ว่าอินสแตนซ์ของกระบวนการที่มีอยู่จะทำงานต่อไปโดยไม่ได้รับผลกระทบจากงานพัฒนาที่ไม่ได้รับการรับรองหรือยังไม่สมบูรณ์We would like to advice users to branch the app to a new version whenever they would like to make changes to their app that is already rolled out to production. This would also ensure that existing process instances will continue to run without being affected by your uncommitted/incomplete development work.