Start a new topic
Answered

Either PARAM_MAPPING_TABLE and PARAM_LOOKUP_COLUMN and PARAM_OUTPUT_COLUMNS or PARAM_CUSTOM_SQL must be defined

We are seeing this runtime error in multiple scenarios (Publishing using API, Triggering DB Function based Validations)


java.lang.RuntimeException: Either PARAM_MAPPING_TABLE and PARAM_LOOKUP_COLUMN and PARAM_OUTPUT_COLUMNS or PARAM_CUSTOM_SQL must be defined


Please suggest what needs to be changed in the model config.

log

Best Answer

Hi Satish,


thank you for posting your question in our forums!

There must be a Lookup Enricher configured in one of your entities. As the message indicates, the rule is to set its parameters as follows:

  • Either  PARAM_MAPPING_TABLE and PARAM_LOOKUP_COLUMN and PARAM_OUTPUT_COLUMNS
  • Or PARAM_CUSTOM_SQL
I hope this helps.
Best regards,
Stéphanie.

1 Comment

Answer

Hi Satish,


thank you for posting your question in our forums!

There must be a Lookup Enricher configured in one of your entities. As the message indicates, the rule is to set its parameters as follows:

  • Either  PARAM_MAPPING_TABLE and PARAM_LOOKUP_COLUMN and PARAM_OUTPUT_COLUMNS
  • Or PARAM_CUSTOM_SQL
I hope this helps.
Best regards,
Stéphanie.

Login to post a comment