I've created a custom data model using reuse method,
I need to save the data from the staging table to the database but am having some trouble.
The save method never seems to be called, so I can't put the code in there.
I've put my code in the check method, and saved down to the database based on step number and status.
This works when I press 'Approve' but because the 'Check' button has the same step number and status the data is being saved to the database when the check button is pressed.
The way I see it, I have two options:
1. Add another condition of the action. Is there anywhere in the check method where I can retrieve that the user has pressed 'Approve'?
2. The check method is not the place to save down to the database. If this is the case, where do put my code?