Forum Discussion

MikeSmith's avatar
MikeSmith
Qrew Member
2 years ago

Pipeline checking if file attachment has changed

When a record changes (trigger) I want to be able to tell if a specific file attachment has changed. With most fields I can compare the field {{a.name}} with the previous value {{a.$prev.name}} to detect a change in that specific field. This does not seem to work with file attachmenty field types. Is there a different syntax?

------------------------------
Mike Smith
------------------------------

2 Replies

  • MarkShnier__You's avatar
    MarkShnier__You
    Qrew #1 Challenger
    Try making a formula text field called [File Name] 
    with a formula field of 

    ToText([Name])

    where I presume that [Name] is your file attachment field.

    Then try  prev in that.

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------
    • MikeSmith's avatar
      MikeSmith
      Qrew Member
      Thank you Mark. That worked great!

      ------------------------------
      Mike Smith
      ------------------------------