Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi there we have some records with the modified name / date / time etc fields set up to autoenter so we can track who last modified a record... thats fine.

 

We also have a script that runs which loops through all the records every so often performing various tasks.

 

The problem is that the modified fields now are updated because the script has modified the record! Is there anyway to prevent this from happening? I want the modified fields updated only when a user has modifed the record, not the scheduled script.

 

 

 

 

Posted

Try auto-entering a calculated value (replacing`existing value) =

Case ( IsEmpty ( Get ( ScriptName ) ) ; Get ( AccountName ) ; Self )

Note that this assumes there are no paused scripts during manual data entry.

Posted

One way would be to build a script that sets a $$global variable flag to turn on/ off recording.... in your script that does the modifications turn the flag to off.... and change your auto enter fields to calculation with If ( autoentermodificationtimestampfield ; "" ) & if ( $$flag is on ; Get (Timestamp) ; Self ) . The autoenter calc will fire everytime the field is modified and it will stored the last modification timestamp only if the $$flag is set to on.

I'm sure their are other ways to do this but its thd first to come to mind.

Another option would be to simply record what method caused the modification and leave the autoenter field alone. Alot depends on what reason you have for wanting to not record a modification to a field's data.

This topic is 3887 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.