Home > Forum > Rules, JS, SQL > Selection of form fields in objects tab of form field editor

Selection of form fields in objects tab of form field editor
0

In reply to: Jacek Wojnar

Hi Sebastien,
What do you need to achieve?
Attributes are available, but in JavaScript mode.

Hi Jacek,

ah I didn‘t try the JS mode. Thank you.

I‘d like to call a global business rule wirh parameters that runs a SQL command with the parameters.

A use case is to get item list values or item list entry counts of an instance by just passing the item list id and a columns database name. The last one only exists in the objects tab. The query selects the column from WFElementDetails with WHERE conditions.
This simple case can surely be done without a SQL command. But it‘s easy to imagine more complex SQL queries.

Kind regards
Sébastien