Hashvariable In JdbcFormBinder

Confluence User - 14 Jun, 2023

Hi, I uesd Hashvariable in JdbcFormBinder (eg. select 'string' from tableA where 1=1 or id = #form.tableName.id?sql#), record is empty so hashvariable is not porceeed. correct sql output is 'string' .  But in jdbcbinder, sql contains ? is treated as not set primarykey, so return directly,  actual output is empty.  I wonder how to avoid this problem ?

(I had debuged the platform source code found this problem)

forms

1


15 Jun, 2023
confluenceUser
confluenceUser

Simple use the following SQL guide, for example in a process tool:

select from app_fd_tableA where id = '#form.tableName.id#'

Read Hash Variable

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print