Jump to content
Server Maintenance This Week. ×

Creating audit log record


This topic is 1788 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello!  I want to have an "on record load' script that will add a record to my audit log when an Individual record is viewed/edited, but I am finding that it is getting stuck in a loop since I have the script return to the individual detail layout/original record, so it bounces back and forth between the detail layout and the layout where the audit log record is created.  any thoughts on how I can get this loop to stop?

 

Thanks!

Link to comment
Share on other sites

A few ways. One easy way:
 

If [ Exact ( $$DISABLE_TRIGGERS ; 1 ) ]
  Set Variable [ $$DISABLE_TRIGGERS ; "" ]
  Exit Script
End If

Set Variable [ $$DISABLE_TRIGGERS ; 1 ]
...rest of your script.

 

Other options: 

  • Perform Script On Server
  • New Window / Close Window
  • Portal / Relationship record creation
Link to comment
Share on other sites

This topic is 1788 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.