Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
#784522
hello,

In property "sql" in textbox web control for example, we can't use variable that we create it in variables tab.

for example
Code: Select all
select p.program_name from is_programs as p inner join is_courses as c on c.program_id = p.program_id where c.course_id = @@doneOrarchivecourses

it is not work although @@doneOrarchivecourses has a value.

This problem is a very big problem.
#784527
I am on 2.8 and 2.0: I found no easy predictable way of composing query in sql property of the field -- it all depends on the datatype. Here is an example of an sql statement with a variable string (I suspect your @@doneOrarchivecourses field is a string):
SELECT Description from JobMaster WHERE JobNumber="@#jobNumber"


Mind you I am not on 3.0, querying against mssql, with database connection functioning properly, @#jobNumber is a string. Hope this helps.

Well, we all know that NFT is a virtual asset that[…]

When you choose to buy Xanax online, you are makin[…]

When you decide to buy Roxicodone online, you're o[…]

To export Gmail emails to an Office 365 account, y[…]