Update entity Modified date based on new stream (Note) entry

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chris.savage@sorsix.com
    Junior Member
    • Aug 2025
    • 3

    #1

    Update entity Modified date based on new stream (Note) entry

    Hi, We've been trying to update behaviour so that Leads and Opportunities update their "Modified" date based on a new stream (Note) entry.

    We have followed the instructions in the following, but the Notes entity did not become editable to add the formula: https://forum.espocrm.com/forum/general/73797-stream-entries-modified

    We tried requesting the eblasoft "stream-post-updae-modifiedat" plugin, but there was no response.

    We tried extending a PHP hook from the following, but (like the final post on the topic) received a system-wide 500 error when attempting to modify anything. https://forum.espocrm.com/forum/deve...dding-comments

    We looked at https://github.com/Kharg/stream-pro, but this only appears to play within the stream, and doesn't update the parent "Modified" field.

    Has anyone solved this problem? I suspect that the object model or something else in espocrm has changed since these earlier solutions were posted?

    Thanks in advance, Chris.
  • Kharg
    Senior Member
    • Jun 2021
    • 458

    #2
    Hello,

    you can try to use the workflow that I posted in this topic

    Hi, When I add a note to a stream in TASKS. The modified overview doesn't update the time and date. I understand I didn't change the TASK ITSELF but I added a comment and I would like to sort all the tasks based on latest commented. Is this a bug or is it working as intended and if so, how can I achieve what I'm looking for?



    or else, you can sort by the new “Stream updated at” field that was introduced in version 9.0

    Comment

    • chris.savage@sorsix.com
      Junior Member
      • Aug 2025
      • 3

      #3
      Thank you Kharg! That workflow executed perfectly! Problem solved.

      Comment


      • Kharg
        Kharg commented
        Editing a comment
        Great! Please keep in mind that it will applied to all entities, you can limit it with conditions however
    Working...