You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Update Existing Running Process Instances to the Newer Process Flow After Process Changes

อัพเดตอินสแตนซ์กระบวนการทำงานที่มีอยู่เป็นโฟลว์กระบวนการที่ใหม่กว่าหลังจากการเปลี่ยนแปลงกระบวนการ

There are 2 situations, as described below:

มี 2 ​​สถานการณ์ดังอธิบายด้านล่าง:

  1. Updating a process in the same app version: all existing running processes in the same app version will automatically be updated to the new process flow in the background.

    การอัปเดตกระบวนการในเวอร์ชันแอพเดียวกัน: กระบวนการทำงานที่มีอยู่ทั้งหมดในเวอร์ชันแอพเดียวกันจะได้รับการอัปเดตเป็นโฟลว์กระบวนการใหม่ในพื้นหลังโดยอัตโนมัติ

  2. Branch an app to a new version and update from it: all existing running process instances will continue to run as they are and will not be updated.
    (Note: You may also make use of Joget's JSON API to manually update your running process to the new process version, one by one, if you wish to do that. We do have plans to integrate this function into the web console soon.)

    แยกแอปเป็นเวอร์ชันใหม่และอัปเดตจากแอป: อินสแตนซ์กระบวนการทำงานที่มีอยู่ทั้งหมดจะยังคงทำงานต่อไปเหมือนเดิม
    (หมายเหตุ: คุณอาจใช้ JSON API ของ Joget เพื่ออัพเดตกระบวนการทำงานของคุณเป็นเวอร์ชันกระบวนการใหม่ด้วยตนเองทีละคนถ้าคุณต้องการทำเช่นนั้นเรามีแผนจะรวมฟังก์ชั่นนี้เข้ากับเว็บคอนโซลในไม่ช้า)

We would like to advice you to branch the app to a new version whenever you would like to make changes to your app that is already rolled out to production. This would ensure that existing process instances will continue to run without being affected by your uncommitted/incomplete development work.

Another thing that you need to keep in mind is that, when we update the existing running process to a newer process flow, the system will actually abort instances created under the existing process version and replace them with a new process instance from where its process activity last stopped (by matching the record ID). So, the process instance ID will be different from the original one. This may be an issue with the SLA as new instances are created causing a reset with the calculation data. This is the reason why we do not encourage you to update your process design when running in production.

เราอยากจะแนะนำให้คุณแยกแอพออกเป็นเวอร์ชั่นใหม่เมื่อใดก็ตามที่คุณต้องการเปลี่ยนแปลงแอพที่มีอยู่แล้วในการผลิต สิ่งนี้จะช่วยให้มั่นใจได้ว่าอินสแตนซ์กระบวนการที่มีอยู่จะยังคงทำงานต่อไปได้โดยไม่ได้รับผลกระทบจากงานพัฒนาที่ไม่ได้ผ่านการคัดเลือก / ไม่สมบูรณ์

สิ่งที่คุณต้องจำไว้ก็คือเมื่อเราอัปเดตกระบวนการทำงานที่มีอยู่เป็นโฟลว์กระบวนการที่ใหม่กว่าระบบจะยกเลิกอินสแตนซ์ที่สร้างขึ้นภายใต้เวอร์ชันกระบวนการที่มีอยู่แล้วและแทนที่ด้วยอินสแตนซ์กระบวนการใหม่ หยุดล่าสุด (โดยจับคู่ ID เรคคอร์ด) ดังนั้น ID อินสแตนซ์กระบวนการจะแตกต่างจากรหัสเดิม นี่อาจเป็นปัญหาของ SLA เนื่องจากมีการสร้างอินสแตนซ์ใหม่ซึ่งทำให้เกิดการรีเซ็ตด้วยข้อมูลการคำนวณ นี่คือเหตุผลที่เราไม่สนับสนุนให้คุณอัปเดตการออกแบบกระบวนการเมื่อทำงานในการผลิต

Related Tutorial

บทแนะนำที่เกี่ยวข้อง

  • No labels