Introduction

This is a sample application meant to demonstrate the use of Subflow with each process maintaining its own Form table setup.

นี่เป็นแอปพลิเคชันตัวอย่างที่มีวัตถุประสงค์เพื่อแสดงการใช้งาน Subflow กับแต่ละกระบวนการที่ยังคงตั้งค่าตารางแบบฟอร์มของตัวเอง


Steps


Figure 1: Process A

Process A will invoke Process B when the condition is met.

รูปที่ 1: กระบวนการ A

กระบวนการ A จะเรียกใช้กระบวนการ B เมื่อตรงตามเงื่อนไข



Figure 2: Process A's Subflow entity Properties

รูปที่ 2: คุณสมบัติเอนทิตี Subflow ของกระบวนการ


Figure 3: Process B (Subflow) Properties

The Workflow Variable from Process A (statusA) (see Figure 2) will be passed into Process B's (statusB) (see Figure 3)  and will also be returned upon completion of the Subflow (Process B) as it has been set to "In and Out".

รูปที่ 3: คุณสมบัติกระบวนการ B (Subflow)

ตัวแปรเวิร์กโฟลว์จากกระบวนการ A (สถานะ A) (ดูรูปที่ 2) จะถูกส่งผ่านไปยังกระบวนการ B (สถานะ B) (ดูรูปที่ 3) และจะถูกส่งคืนเมื่อเสร็จสิ้นกระบวนการย่อย (กระบวนการ B) เนื่องจากตั้งค่าเป็น "ใน และออก "



Figure 4: Process B

Upon completion of "Approve B" in Process B, Workflow Variable from Process B (statusB) will be returned to Process A (statusA).

รูปที่ 3: กระบวนการ B

เมื่อเสร็จสิ้นการ "อนุมัติ B" ในกระบวนการ B ตัวแปรเวิร์กโฟลว์จากกระบวนการ B (สถานะ B) จะถูกส่งกลับไปยังกระบวนการ A (สถานะ A)



Figure 5: Form Table Setup

รูปที่ 5: การตั้งค่าตารางแบบฟอร์ม



Figure 6: Demo of the Workflow

Both processes maintain their own form table setup while being able to access each other's dataset seamlessly.


Download Demo App

Download: APP_test_process_subflow_dx_kb.jwa


รูปที่ 5: การสาธิตกระบวนการทำงาน

กระบวนการทั้งสองรักษาการตั้งค่าตารางฟอร์มของตัวเองในขณะที่สามารถเข้าถึงชุดข้อมูลของกันและกันได้อย่างราบรื่น

ดาวน์โหลดAPP_subflowApp-1-20130906165322.zip