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

Compare with Current View Page History

« Previous Version 4 Next »

In this article, we will attempt to show you on how to introduce a conditional repetitive loop on using Deadlines.

Typically, we would have a Deadline set at the intended activity itself like the following diagram.

ในบทความนี้เราจะพยายามแสดงวิธีการวนซ้ำแบบมีเงื่อนไขในการใช้กำหนดเวลา

โดยทั่วไปแล้วเราจะมีกำหนดเวลาในกิจกรรมที่ตั้งใจไว้เหมือนแผนภาพต่อไปนี้

Learning More

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

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




Figure 1: Asynchronous deadline set at "Approve Leave" activity to "Send Reminder"

It is a very simple and straight forward design we got above but there may be a need to send out reminder at an interval, not just once. Therefore, we may design our workflow in such a manner like the one below.

รูปที่ 1: กำหนดเวลาแบบอะซิงโครนัสที่กิจกรรม "อนุมัติลา" เป็น "ส่งจดหมายเตือนชำระเงิน"

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


Figure 2: Repetitively triggering "Send Reminder" using a waiting activity "Wait for Timeout"

By using a waiting/dummy activity, we can then loop it around and add a conditional transition to trigger/stop sending reminder.

รูปที่ 2: เรียกใช้ "Send Reminder" ซ้ำ ๆ โดยใช้กิจกรรมรอ "Wait for Timeout"

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

Related Elements

องค์ประกอบที่เกี่ยวข้อง


  • No labels