Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
4 years ago

Pipelines - how to look at original value and new value of field?

Is there a way in pipelines to set this condition?

If Record is modified, trigger on Field A and
 Original value of Field A = xxx and New value of Field A = yyy

------------------------------
Mike Tamoush
------------------------------
  • I believe the delayed March release replicates old value and new value from Automatons into pipelines.  They have not yet announced the revised March Release date after it was pulled from Sunday yesterday.

    https://help.quickbase.com/release-notes/march-2021-release-notes.html

    Pipelines

    Enhancements for the Quickbase channel

    With this release, two highly requested features that simplify the process of building powerful and complex workflows are now available:

    • You can take the previous value of a field from a trigger and analyze both the original and the new value when a record is updated. Then you can compare the difference between the two values or track the change.



    Mark

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • EvanMartinez's avatar
      EvanMartinez
      Quickbase Staff
      Mark is correct that functionality to pull old values will be coming to Pipelines and the March release did get rescheduled. It was pushed back to March 21st after our pre-release testing detected an issue that needed to be resolved. If you want to keep up to date on our release and other service announcements you can follow us on our Status page.

      ------------------------------
      Evan Martinez
      Community Marketing Manager
      Quickbase
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        I believe that the Sunday release will allow you to specify the previous value but you have to edit the jinja code yourself.  Apparently the drag and drop is coming later.

        its something like changing
        {a.my_field_name} to
        {a.prev_my field_name}

        or maybe it was
        {a.$prev_my field_name}

        I don't see that documented in the release notes. Maybe Evan we will see this post and ask what the syntax is.

        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------