Hi,
why are form fields available in the objects tab when configuring a validate form action but not when using the form rule editor? Can anybody explain this?
Thanks and kind regards
Sébastien
Hi,
why are form fields available in the objects tab when configuring a validate form action but not when using the form rule editor? Can anybody explain this?
Thanks and kind regards
Sébastien
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
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
Hi,
I understand. In such a situation, the [Form fields] tab will indeed be useful :-)
A workaround (besides using JavaScript mode) could be to create business rules that return the list ID and/or column names - [Form fields] is available in business rules.
Hi,
I understand. In such a situation, the [Form fields] tab will indeed be useful :-)
A workaround (besides using JavaScript mode) could be to create business rules that return the list ID and/or column names - [Form fields] is available in business rules.
Hi Jacek,
the workaround with a business rule works great.
Nether the less I suggested a user voice here:
https://community.webcon.com/forum/thread/8423
Kind regards
Sébastien