Jump to content
  • 0

duplication of records


NiceDuck

Question

Halo

I would like to share some workflow again and feel free to comment if you have better ideas Ideas.

I made a trigger where limits the number of times a record can be updated.  For example, if the record is already updated five times, It can no longer be updated even if you tried to edit it via Caspio Bridge level.

What  I did is I made a nested conditional statement which it checks if the id of the inserted record is already on  the table, if so, it will check a specified field which is for contains the value for how many times a record is been updated. If it is already greater than or equal the certain number, it will change the value of the inserted record to the value which is currently recorded on the table. 

I attached a photo of my trigger here. I hope it helps anyone.  Also, if you have any ideas for improvement,  please add a comment. It'll be highly appreciated.

Quack

limit_update_v1.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...