Node configuration " Write to database Store" with dependent dropdown interface

Certified Associate Developer

"I am working with dependent tables, and it's already functioning in the interface. However, when starting debugging in the process model, it throws the following error:

I believe this might be due to the variable in the 'Group' field, which comes from the interface as an integer variable but is presented as text in the user form. Could you guide me on how to handle the configuration of the node or the properties of the Process Model M to fix this error?"

This is what I have in my node configuration

These are the variables on my Process Model´s properties

and this is my rule inputs on the interface

Appreciate your comments.

Regards,

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to MonicagVela

    Do you have that "Write to Data Store" node still configured like so?

    If yes, it does not work like this. I am not sure what you expect this to do.

    It seems like that CFP_GRUPO_DE_INVERSION is your data structure that represents your table in the database. Just adding another rule input will not do anything. You need to update the field in the data structure and then write this to the DB.

Children
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    Thank you very much for your guidance. It is correct that CFP_GRUPO_DE_INVERSION is the data structure representing my database. Could you please guide me on how to update the "Group" and "Subgroup" fields in this structure so that it reflects in the database?

    By setting up the configuration as shown for the variable "nombreGrupoId," it allowed the values not to disappear when entered by the user. "I'm not sure if it's the right way."

    thanks.