How to get the most recent Activity Trail lines for a record

Posted by Rollbase User on 05-Apr-2013 08:01

Hello, In a formula or a trigger, we try to get the record last changes. We can find these informations in the Activity Trail. {!#LOOP_BEGIN.$ACT_TRAIL} can technically be used but we easily exceed characters limit which is already pretty high. {!#LOOP_BEGIN.$ACT_TRAIL(10)} can not be used. Anyway, Activity trail lines are sorted from the oldest to the most recent ones. We could not get the most recent ones this way. Is there another way to get the last changes on a record ? Do you have a solution ? Thank you for your help. Matthieu

All Replies

Posted by Admin on 06-Apr-2013 13:10

Hi Matthieu,



Got it, we'll discuss what can be done internally and get back to you on this.



Regards,

Matt

Posted by Admin on 06-May-2013 16:37

Loops through related Audit records will allow limit on number of records in 4.06 release:





    {!#LOOP_BEGIN.$ACT_TRAIL(1)}

  • {!$ACT_TRAIL.content}


{!#LOOP_END.$ACT_TRAIL}

Posted by Admin on 12-May-2013 21:45

This has been released as part of 4.06

This thread is closed