reqapproval1 vs reqapproval2

 5 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
redluv
Basic Member
Posts: 11
Basic Member
    Hello,

    Can someone tell me the real difference between reqapproval1.xml and reqapproval2.xml? The documentation gives this cryptic clue:

    The two flows are identical in all respects except that reqapproval1 looks for a
    value from the requisitions header detail to determine the appropriate level to
    restart the approval process. Reqapproval2 always starts at the first level of
    approval.

    I can see that reqapproval1 does track it's status by updating the PFLOW_APRV_LVL field on the req header. However I'm not sure what the practical application of this is?

    Thanks,
    redluv
    Marc Burnes
    Basic Member
    Posts: 14
    Basic Member
      Sounds to me that when reqapproval2 is restarted, that it would go through each level of the approval process over again. Reqapproval1, on the other hand, will restart and pick up where the approval process left off.
      JimY
      Veteran Member
      Posts: 510
      Veteran Member
        I could be wrong, but I believe reapproval2 allows you to set dollar amount limits at the line level where as reqaproval1 looks at the total dollar amount of the requisition.
        redluv
        Basic Member
        Posts: 11
        Basic Member
          Restart seems to be the operative word. What does that mean? Why would a flow restart?
          Marc Burnes
          Basic Member
          Posts: 14
          Basic Member
            Flows are restarted either because they fail, like during a system outage, or because the approver has changed. In the latter case, you would restart the flow so it would go to the new approver.
            redluv
            Basic Member
            Posts: 11
            Basic Member
              OK sounds like reqapproval1 has an advantage then. Thanks for your help!