3 Replies Latest reply on Dec 14, 2012 12:26 PM by philmodjunk

    Preventing data change

    SteveKeiser

      Title

      Preventing data change

      Post

           I made a script called "Trigger | Verify Creator Before Committing Changes". I then attached it to the layout "OnRecordCommit". 

           Here is the script:

           If [(CreatedBy=Get(AccountName)]

                 Commit Records/Requests[ ]

           Else if [ ]

                 Show Custom Dialog blah blah...

           End if

           It is not working. I'm trying to limit record editing to the creator. I know there is another way to do this, but thought this would be a very simple method and am disappointed to see it doesn't work. Can anyone explain why?

            

      TriggerScript.jpg