Versions Compared

Key

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

Table of Contents

Introduction

Thai

บทนำ


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

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

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

Types of Deadlines

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

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



Setting Deadlines - A Step-by-Step Guideline

Thai

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

Activating Deadline Checker

Thai

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

  • The activity deadline checker is disabled by default. To allow activity deadline checking by Joget Workflow, you will have to set the Process Deadline Checker Interval to a non-zero value. Set it to a suitable value, depending on your need.

    Thai

    ตัวตรวจสอบกำหนดเวลากิจกรรมถูกปิดใช้งานโดยค่าเริ่มต้น ในการอนุญาตการตรวจสอบกิจกรรมตามกำหนดเวลาโดย Joget Workflow คุณจะต้องตั้งค่า Process Deadline Checker Interval ให้เป็นค่าที่ไม่เป็นศูนย์ ตั้งเป็นค่าที่เหมาะสมขึ้นอยู่กับความต้องการของคุณ

  • To enable deadline checking, go to the Admin Bar > General Settings > Timer Settings.

    Thai

    หากต้องการเปิดใช้งานการตรวจสอบกำหนดเวลาให้ไปที่แถบผู้ดูแลระบบ> การตั้งค่าทั่วไป> การตั้งค่าตัวจับเวลา

  • Change the value for 'Process Deadline Checker Interval' to a non-zero value, i.e. 30 (seconds). The unit used is seconds.

    Thai

    เปลี่ยนค่าสำหรับ 'Process Deadline Checker Interval' เป็นค่าที่ไม่เป็นศูนย์เช่น 30 (วินาที) หน่วยที่ใช้คือวินาที

Setting Deadlines in Activities

Thai

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

  • Edit the activity properties you wish to set a deadline for, then click on the Deadlines tab. Add a new row and enter appropriate values for 'Execution', 'Duration Unit' and 'Deadline Limit'.

    Thai

    แก้ไขคุณสมบัติของกิจกรรมที่คุณต้องการกำหนดกำหนดส่งจากนั้นคลิกที่แท็บกำหนดเวลา เพิ่มแถวใหม่และป้อนค่าที่เหมาะสมสำหรับ 'Execution', 'Duration Unit' และ 'Deadline Limit'

  • Type the exception name in the Exception name field (e.g., TIMEOUT). Exception names are case sensitive. Make sure this matches the exception name given to the transition.

    Thai

    พิมพ์ชื่อข้อยกเว้นในฟิลด์ชื่อข้อยกเว้น (เช่น TIMEOUT) ชื่อข้อยกเว้นคำนึงถึงขนาดตัวพิมพ์ ตรวจสอบให้แน่ใจว่าสิ่งนี้ตรงกับชื่อข้อยกเว้นที่กำหนดให้กับการเปลี่ยนแปลง

  • Click on 'OK' to save your deadline configuration. You can as many deadlines as you require.

    Thai

    คลิกที่ 'ตกลง' เพื่อบันทึกการกำหนดเวลาของคุณ คุณสามารถกำหนดเวลาได้มากเท่าที่คุณต้องการ

Setting Transition as Exception Flow

Thai

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

  • 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

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

Cautions And Warnings

Thai

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

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

...

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

Thai

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

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

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

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

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


Related Documentation

Thai

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

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.

Thai

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


Download Demo App

Thai

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

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

Thai

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