The error is reported if you run a function for an item that is not yet saved.
Error message
You have started an action for a definition that has not been saved yet. Please save the model and restart the action.
Cause
If you create an object definition in a model, for example, it will be created locally on your computer. It is not registered in the database until you save the change.
Solution
Save your changes and restart the action.