Introduction

บทนำ


Deadlines act as a timer which triggers an exception transition to another activity when a specified duration has elapsed. Deadlines can be set for each activity.

We set time limits on each activity, which will trigger an exception (in this case, a specific string variable). When a matching transition that has the condition set to 'exception' matches this string value, the transition will be invoked.


กำหนดเวลาทำหน้าที่เป็นตัวจับเวลาซึ่งก่อให้เกิดการเปลี่ยนแปลงข้อยกเว้นไปยังกิจกรรมอื่นเมื่อระยะเวลาที่กำหนดได้ผ่านไป กำหนดเวลาได้สำหรับแต่ละกิจกรรม

เราตั้งค่า จำกัด เวลาสำหรับแต่ละกิจกรรมซึ่งจะทำให้เกิดข้อยกเว้น (ในกรณีนี้คือตัวแปรสตริงเฉพาะ) เมื่อการเปลี่ยนแปลงการจับคู่ที่มีเงื่อนไขตั้งค่าเป็น 'ข้อยกเว้น' ตรงกับค่าสตริงนี้การเปลี่ยนแปลงจะถูกเรียกใช้

Caution

ข้อควรระวังและคำเตือน

  • Remember to turn on Deadline Checker Interval in General Settings so that Deadlines will be triggered.

  • Do take into account of deadline tasks processing times. All deadline tasks must be completed before the deadline checker interval starts calculating again.
    This effect is more prevalent if there are many deadline tasks in queue and/or those task(s) requires heavy processing.
    Example:
    Assuming the deadline checker interval is set to 10 minutes & all current deadline tasks in queue would take 5 minutes to finish processing, it would take 5 minutes to complete processing and then only the deadline checking of 10 minutes will begin again after. From the perspective of the Joget app designer, it would seem that the deadline checker interval is irregular but this is actually the expected behavior.

  • When an activity assignment is created, any associated deadline(s) is also created at that instance and ready to be executed upon its set deadline duration. Because of this, deadlines will also store the values of workflow variables at the time of creation of such activity.
    Hence, any modification to the workflow variables after the creation of the deadline(s) will not take into effect (e.g: changing workflow variable values in the Process Monitor), while the old values will.

  • You can set multiple deadlines in an activity.
    As an example, you can include a first-level reminder (asynchronous), which is then followed by an escalation (synchronous), if the activity has not been completed within the time limit.

  • Remember to match the exception names. If they do not match, nothing will happen.

อย่าลืมเปิดช่วงตรวจสอบกำหนดเวลาใน General Settings เพื่อให้กำหนดเวลาทำงานจะเริ่มขึ้น

เมื่อมีการสร้างการกำหนดกิจกรรมวันครบกำหนดใด ๆ ที่เกี่ยวข้องจะถูกสร้างขึ้นในอินสแตนซ์นั้นและพร้อมที่จะดำเนินการตามระยะเวลาที่กำหนดไว้ ด้วยเหตุนี้กำหนดเวลาจะเก็บค่าของตัวแปรเวิร์กโฟลว์ในเวลาที่สร้างกิจกรรมดังกล่าว

ดังนั้นการแก้ไขตัวแปรเวิร์กโฟลว์ใด ๆ หลังจากการสร้างกำหนดเวลาจะไม่มีผล (เช่นการเปลี่ยนค่าตัวแปรเวิร์กโฟลว์ในการตรวจสอบกระบวนการ) ในขณะที่ค่าเก่าจะ

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

อย่าลืมจับคู่ชื่อข้อยกเว้น หากพวกเขาไม่ตรงกันจะไม่มีอะไรเกิดขึ้น

Types of Deadlines

ประเภทของกำหนดเวลา



Setting Deadlines - A Step-by-Step Guideline

การตั้งค่ากำหนดเวลา - แนวทางทีละขั้นตอน

Activating Deadline Checker

กำลังเปิดใช้งานตัวตรวจสอบกำหนดเวลา

Setting Deadlines in Activities

การตั้งค่ากำหนดเวลาในกิจกรรม

Setting Transition as Exception Flow

การตั้งค่าช่วงการเปลี่ยนภาพเป็นข้อยกเว้น

Deadline In A Joget Cluster 

The deadline checker is controlled by the database. When the deadline checker interval time is reached. Joget will pick up a batch of 10 from the running activity instances having deadlines, and run it until it goes through all the running activity instances. Then it will start the next interval. Joget will skip the activity if the deadline is already triggered. In a clustered environment, every cluster node will have its deadline checker and will perform the same deadline checking process. The first checker that reaches the activity deadline first will flag (update) the deadline in the database, then proceed with the deadline workflow. The second checkers will skip that activity and continue the checking process.

Related Documentation

เอกสารที่เกี่ยวข้อง

Office Working Hour Deadline Plugin is an optional addition to your app where SLAs and deadlines are implemented. This plugin will adjust the SLA and deadlines due date calculations based on working hours, weekends and company holidays.

Office Working Hour Deadline Plugin เป็นทางเลือกเพิ่มเติมสำหรับแอปของคุณที่มีการใช้ SLA และกำหนดเวลาสิ้นสุด ปลั๊กอินนี้จะปรับ SLA และกำหนดเวลาการคำนวณวันครบกำหนดตามชั่วโมงการทำงานวันหยุดสุดสัปดาห์และวันหยุดของ บริษัท


Download Demo App

ดาวน์โหลดแอพสาธิต

Download the tutorial app on Process Deadline from Joget Marketplace to learn more.

ดาวน์โหลดแอพบทช่วยสอนเกี่ยวกับ Process Deadline จาก Joget Marketplace เพื่อเรียนรู้เพิ่มเติม