Versions Compared

Key

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

Table of Contents

Introduction

Thai

บทนำ


English

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.


Thai

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

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

...

  • Deadline execution can be synchronous or asynchronous.

    Thai

    การดำเนินการตามกำหนดเวลาอาจเป็นแบบซิงโครนัสหรือแบบอะซิงโครนัส

  • For synchronous execution, the current activity will no longer be active when the deadline is triggered.  This is used in cases such as an approval escalation.

    Thai

    สำหรับการดำเนินการแบบซิงโครนัสกิจกรรมปัจจุบันจะไม่สามารถใช้งานได้อีกต่อไปเมื่อถึงกำหนดส่ง ใช้ในกรณีเช่นการเพิ่มการอนุมัติ

  • For asynchronous execution, the next activity will be executed while the current activity is still waiting.  This is used in cases such as sending reminders.

    Thai

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

  • Multiple deadlines are supported for each activity.

    Thai

    สนับสนุนกำหนดเวลาหลายวันสำหรับแต่ละกิจกรรม


Image Modified


Setting Deadlines - A Step-by-Step Guideline

...

  • When a deadline is triggered, and where the exception name matches the one set for a transition, the flow will execute along that transition to the next element along the workflow.

    Thai

    เมื่อกำหนดเวลาสิ้นสุดลงและที่ชื่อยกเว้นตรงกับที่ตั้งไว้สำหรับการเปลี่ยนแปลงโฟลว์จะดำเนินการตามการเปลี่ยนแปลงนั้นไปยังองค์ประกอบถัดไปตามเวิร์กโฟลว์

  • Add an Exception-type transition from the activity to the next (i.e., Send Reminder).

    Thai

    เพิ่มการเปลี่ยนประเภทข้อยกเว้นจากกิจกรรมเป็นรายการถัดไป (เช่นส่งจดหมายเตือนชำระเงิน)

  • Set the type of condition to 'Exception'.

    Thai

    กำหนดประเภทของเงื่อนไขเป็น 'ข้อยกเว้น'

  • Enter an Exception name (e.g., TIMEOUT) in the Expression text area.

    Thai

    ป้อนชื่อข้อยกเว้น (เช่น TIMEOUT) ในพื้นที่ข้อความนิพจน์

  • Confirm and close the properties window for the transition.

    Thai

    ยืนยันและปิดหน้าต่างคุณสมบัติสำหรับการเปลี่ยนแปลง

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

Thai

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

...