1
0
-1

Dear Team,


I am facing problem with one of the form we have leave application where the HOD and HR needs to approve the process, but when the HOD open the Leave application to approve he is seeing buy default the radio button has been selected as approved. 


and same thing i have observer this for HR also its selected Approve by default.


i am using  variable called "status" for both the approval. is this the cause for this problem, if not kindly let me the solution for this . if this the case can you guide me how change add new variable so that i can assign.   

    CommentAdd your comment...

    4 answers

    1.  
      1
      0
      -1

      Either the loadbinder is loading the record against the id where value "Approve" is already present in the database against that record. Or if you have assigned a workflow variable to that field, maybe the workflow vairable is populating that radio button or the default value of that field is set to Approve.


      Most probably the workflow form binder is loading the previous submitted record in that process

        CommentAdd your comment...
      1.  
        2
        1
        0

        If you want to add new workflow variable. Go to procoess builder, open the process and press on edit it on the builder page where you set the id and name of the process. You will see a list of variables there

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

          Dear Anas,


          thanks for your support i was able to solve the problem by adding the new variable and assigned it to the process for each process, this as solve the problem

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

            Dear Anas,


            Thanks for replay on this, i have assigned different id for both the approve. but i am using the same variable for both the approve.

            i searched how to add new variable for this so that i can change the status. if you guide me it will be great. 


              CommentAdd your comment...