App Builder - rating error

I’m using a Rating field in the database and it shows in my application (good!).

However, when trying to submit a row with a rating field I get the following error:

“The workflow_action configuration is incorrect: The result value of the formula is not valid for the field Karakter (field_3397668): The provided select option value ‘4’ is not a valid select option.”

The field in question, “Karakter”, is a rating allowing from 0 to 5 stars and is “2803026” in the request below:

{“user”:1,“current_record”:{},“data_source”:{“element”:2803022},“data_source_context”:null,“page_parameter”:{},“form_data”:{“2803024”:“Grøn Tuborg”,“2803025”:“Tuborg”,“2803026”:4,“2803027”:“”},“previous_action”:{“current_dispatch_id”:“22b93105-05aa-41a7-bbdc-4d6d1a20bc04”}}

I am not sure how to proceed from here … so how do one get a Rating field back to the database?

Hi @lorentzus, welcome to the community!

Could you share some further details how you have set this up in the database as well as in the app builder? I just made a minimal reduce test case for this to try and reproduce the issue but I had no problems creating a record with the rating or updating an existing one. So I would like to understand the specifics of your case that may be causing this.

I found the error! Eventually I got:

error “ERROR_WORKFLOW_ACTION_IMPROPERLY_CONFIGURED”
detail “The workflow_action configuration is incorrect: The result of the row_id formula must be an integer or convertible to an integer.”

Which made me check my “Update”-button’s events. And sure enough, the “Row ID” was just “Id” where it must be Parameter->Id.

Problem solved!

Glad to hear you got it solved! :smile: