1
0
-1

Hi. I am currently creating a form that needs an approval of the HOD. Once the form has been submitted, the status should be Pending. Then, once the HOD has approve or reject the request, the value of 'status' should change to either Approved or Rejected based on the choice.

Based on my research, I have create a hidden field status with default value "Pending". Then I have created another workflow variable called status1 that hold values Approve and Reject. How do I link the two? 

Thank you in advance

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Yonathan,

      Thank you for your reply. 


      How you set the approval decision? Answer: Radio button.


      For reference my Process:

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Danial,


        Actually for approval status, you don't need hidden field.

        How you set the approval decision? if you use radio button or selectbox

        There's a workflow variable field on Advanced Options tab.

        fill with exact same variable (case sensitive) with the one you declared on workflow design.

        and don't forget, the value on the options have to be exactly same with the route one the workflow design also.


        Hope it helps.

          CommentAdd your comment...