"#before" does not work properly for create audit trail trigger. - Forum - Rollbase - Progress Community

"#before" does not work properly for create audit trail trigger.

 Forum

"#before" does not work properly for create audit trail trigger.

  • Hi Sir, can you help on my problem?I'm using a trigger to add details on my audit trail but seems not working properly for me. Here's the code:  And here's the output:  as you can see on the output, instead of showing the actual value of the status it shows the numeric value of the status. Is this a bug?Thanks
  • This is how it works: #before suffix gives you raw record field values, which is numeric ID in case of status.



    To get status name instead you can try EVAL:



    #EVAL[rbv_api.getCodeById("my_objectr", "status", {!status#before})]

  • Thanks Sir.!:))