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.
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.
Question
NiceDuck
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
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.