Versions Compared

Key

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

In this article, we will attempt to show you on how to start a process from a hyperlink (Datalist Hyperlink Action) in a Datalist.

Thai

ในบทความนี้เราจะพยายามแสดงให้คุณเห็นถึงวิธีการเริ่มกระบวนการจากไฮเปอร์ลิงก์ (Datalist Hyperlink Action) ในดาต้าลิสต์


Figure 1: Assign Custom ID in Run Process element in Userview Builder

In the Run Process element itself, assign a Custom ID to give it a specific identification so that it can be called easily later on.

Thai

รูปที่ 1: กำหนด ID ที่กำหนดเองในองค์ประกอบ Run Process ใน Userview Builder

ในองค์ประกอบ Run Process เองกำหนด ID ที่กำหนดเองเพื่อระบุตัวตนเพื่อให้สามารถเรียกได้ง่ายในภายหลัง


Figure 2: Assign Hyperlink to the Run Process element's Custom ID in Datalist Builder's Hyperlink Action

In the Datalist Hyperlink Action's properties, key in the Custom ID earlier into it.

Optional: You may also want to initialize the "Run Process" form with a value.

In the "Hyperlink Parameters", key in the corresponding parameter name with the matching field ID. (E.g. In the form, it has a field called "title"). Remember to add in the prefix "fk_" or "fke_" to the parameter name. The latter one is used as a flag to allow the field to be edited.

You will also need to map the form into the "Run Process" activity in your process's activity mapping.

Thai

รูปที่ 2: กำหนด Hyperlink ให้กับ Custom ID ขององค์ประกอบ Run Process ใน Hyperlink Action ของ Datalist Builder

ในคุณสมบัติ Datalist Hyperlink Action ให้ป้อนคีย์ที่กำหนดเองในรหัสก่อนหน้า

ทางเลือก: คุณอาจต้องการเริ่มต้นแบบฟอร์ม "เรียกใช้กระบวนการ" ด้วยค่า

ใน "พารามิเตอร์การเชื่อมโยงหลายมิติ" ให้พิมพ์ชื่อพารามิเตอร์ที่สอดคล้องกับรหัสเขตข้อมูลที่ตรงกัน (เช่นในแบบฟอร์มมีฟิลด์ชื่อ "title") อย่าลืมเพิ่มคำนำหน้า "fk_" หรือ "fke_" ลงในชื่อพารามิเตอร์ ส่วนหลังถูกใช้เป็นแฟล็กเพื่ออนุญาตให้แก้ไขฟิลด์

คุณจะต้องแมปแบบฟอร์มลงในกิจกรรม "Run Process" ในการทำแผนที่กิจกรรมของกระบวนการของคุณ


Figure 3: Optional - Adding a Run Process's Form.

Thai

รูปที่ 3: ทางเลือก - การเพิ่มแบบฟอร์มเรียกใช้กระบวนการ



Figure 4: Viewing the List and starting the process from hyperlink

Go to the published userrview and observe on how the link is constructed.

Thai

รูปที่ 4: การดูรายการและเริ่มต้นกระบวนการจากไฮเปอร์ลิงก์

ไปที่ userrview ที่เผยแพร่แล้วสังเกตวิธีการสร้างลิงค์



Figure 5: Starting process from the hyperlink

A new process flow will start with the form partially populated after clicking on the hyperlink.

Thai

รูปที่ 5: กระบวนการเริ่มต้นจากการเชื่อมโยงหลายมิติ

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