Hi Anozi,
Thank you for your direction, I combine it with
this.
So here are the steps
1. In my case, it applies to M_Requisition, so instead using dummy SendEmail Boolean column, I add new column, IsApproved1
2. Define node Set Processing
Action: Set Variable:
Variable: Processing
Column value: Y
3. Define node Set Unprocessing
Action: Set Variable:
Variable: Processing
Column value: N
4. Define node DocNotApproved
Action: Set Variable:
Variable: DocStatus
Column value: NA
5. Set (DocPerpare)'s transition to node Set Processing
6. Set DocNotApproved's transition to node Set Unprocessing
7. After that we have to define (2) transitions from the DocApproval node:
7.1 from DocApproval to DocComplete, condition: if the field IsApproved1 = Y (yes)
7.2 from DocApproval to DocNotApproved, condition: if that IsApproved1 = N (NO)
Don't forget to set Read Only Logic to @Processing@=Y to the main tab.
Regards,
Iqbal