Versions Compared

Key

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

Do check out the API Builder! A brand new custom builder plugin made for Joget DX.

The API Builder introduces the simple drag-and-drop principle similar to the Form Builder, as a no-code/low-code alternative to create your own customized JSON APIs for Joget apps.

Have access to more APIs out-of-the-box, preview APIs quickly, greater API access management, support for custom API authenticators, and more.

API elements & API authenticators are extensible via plugins too.

To see detailed information about this plugin, click here.

Download the plugin from Joget Marketplace here.

Warning
English
The
Warning
Introduced in v5, the
API Domain Whitelist setting in General Settings needs to be configured to allow JSON API requests. If a request is from a non-whitelisted domain, the response will be a HTTP 400 Bad Request.
Thai

มีการแนะนำใน v5 การตั้งค่ารายการที่อนุญาตพิเศษของโดเมน API ใน General Settings จำเป็นต้องได้รับการกำหนดค่าให้อนุญาตการร้องขอ JSON API หากคำขอมาจากโดเมนที่ไม่ใช่รายการที่อนุญาตพิเศษการตอบกลับจะเป็น HTTP 400 Bad Request

Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

Form Data API and List Data API are newly added feature in Joget Workflow v6.

Thai

Form Data API และ List Data API เป็นคุณสมบัติที่เพิ่มเข้ามาใหม่ใน Joget Workflow v6


Table of Contents
indent30px
stylecircle

...

http://localhost:8080/jw/web/json/workflow/assignment/completecompleteWithVariable/879_223_crm_process1_approve_proposal?var_status=Sent

...

Thai

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

บทบาทของผู้ใช้

ทุกคน (รวมถึงบุคคลนิรนาม)

วิธี

HTTP POST

พารามิเตอร์

  • callback - (เป็นตัวเลือก) ฟังก์ชั่น (ใน JavaScript) เพื่อโทรกลับหลังจากเรียกใช้วิธีนี้
  • activityId - id อินสแตนซ์ของกิจกรรม
  • var_ * - (ไม่บังคับ) พารามิเตอร์นำหน้าด้วย "var_" ใช้เพื่อตั้งค่าตัวแปรเวิร์กโฟลว์


ตัวอย่าง URL

http://localhost:8080/jw/web/json/workflow/assignment/completecompleteWithVariable/879_223_crm_process1_approve_proposal?var_status=Sent

ตัวอย่างผลลัพธ์

...

web/json/workflow/assignment/variable/(*:activityId)/(*:variable)

Note

This API only works when the current user is assigned to the specified activity.

Description
Sets value of workflow variable of an assignment

...

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • processId - process instance id
    • activityDefId - activity definition id
    • abortCurrent - (Optional) true of or false value to abort all the running activities in the process instance

...

Thai

ลักษณะ
ประเมินการมอบหมายทั้งหมดของผู้ใช้ใหม่

บทบาทของผู้ใช้

ผู้ดูแลระบบ

วิธี

HTTP POST

พารามิเตอร์

  • ชื่อผู้ใช้ - ผู้ใช้ที่จะทำการประเมินใหม่


ตัวอย่าง URL

http://localhost:8080/jw/web/json/monitoring/user/reevaluate?username=cat

 

SLA

web/json/workflow/activity/sla/list

...