Hello devs, I need your help. I have two records: 'account' and 'transaction', and the 'balance' field of 'account' varies based on the value of the 'Amount' field of 'Transaction'. I've added conditions to update the 'Balance' (in the saveInto function) when the user clicks 'Create transaction' and it works well in the interface the field in my ruleInput record has been updated, but the update isn't happening at the database level. How can I dynamically change the balance on my site based on the value of the 'Amount' field of the transaction record?
Discussion posts and replies are publicly visible
How do you implement the update to the DB?
Thanks for answering me ! Yes, how do I update the record field if I test it in the process model or in the Site? Because in my case, the record balance is updated only if I test the interface that contains the 'Create Transaction' button ( if i do a test in the interface that contain the code) .