Forum Discussion

  • MCFNeil's avatar
    MCFNeil
    Qrew Captain
    the refresh is your end point, the api_edit is a step.  You can't go to the end, and then step back.  It will either need to be two clicks.

    A long round-a-bout way would be to have the first click do half the approval, then refresh, then if it meets the other criteria, have a webhook do the rest of the edit.
    • GauravSharma3's avatar
      GauravSharma3
      Qrew Commander
      It will make sense for me.

      I have two parts one just approves the record and second part is actual do the calculation.

      So, you mean if we click the first time then, it will only do approve then, we need to create a webhook that will do the second part on based on the criteria.