Skip to main content
Question

FSM Business Rule XML Error


Forum|alt.badge.img+3

I have created a view in the database and I am trying to access it from the output parameter in business rule but getting this following error “Metadata not found for select. Contact your system administrator for assistance.” I have already created the view in custom metadata. Am I missing any step here? How can I fix this?

3 replies

Forum|alt.badge.img+9
  • Hero (Employee)
  • 98 replies
  • April 8, 2025

@TDCANJANA Hi,

 

What do you have in the output parameter?, could you share, how the metadata is setup. Is the field that you are trying to get data from set as force select? Did you refresh cache after creating the metadata? if you could include screen shots of the business rule I might be able to better home in on the issue.

Best Regards,

Morris


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • 6 replies
  • April 9, 2025

Hi ​@Morris ,

No the field is not set up as a force select. Yes I did refresh cache after creating the metadata. I can also query the same view from FSM SQL Query Tool. My question is what are the steps that I should follow after I create a database view? Is it just creating the same in the Custom Metadata or something else?

This is how the metadata is setup.

In the output parameter I have a xml in the below format. With this xml I am trying to fetch a data from a field in this view and insert it in some other tables: 

<hierarchy_select>
 <primary_table>table_name</primary_table>
 <from>
 <table>table_name</table>
 <table>…</table>
 </from>
 <attrs>
 <attr>table_name.column_name</attr>
 <attr>…</attr>
 </attrs>
 <where>
 <data_constraint>
 <constraint>
 <left_operand>table_name.column_name</left_operand>
 <operator>operator</operator>
 <right_operand>value</right_operand>
 </constraint>
 </data_constraint>
 <join_constraint>
 <constraint>
 <left_operand>table_name.column_name</left_operand>
 <operator>operator</operator>
 <right_operand>table_name.column_name</right_operand>
 </constraint>
 </join_constraint>
 </where>
</hierarchy_select>


Forum|alt.badge.img+9
  • Hero (Employee)
  • 98 replies
  • April 16, 2025

Hi ​@TDCANJANA,

 

The simple answer is yes, after the view is created in the database the metadata for the view must be added in FSM, otherwise it would not be able to utilize the views information. Also keep in mind that a view can be used with a business rule, however the view will not be able to trigger a business rule. 

Hope this answers your question.

 

Best Regards,

Morris


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings