AnsweredAssumed Answered

Getting local task variable with Native Queries

Question asked by rohitagrawal on Dec 24, 2013
Latest reply on Jul 4, 2014 by jbarrez
Hi,

When use taskQuery with "includeTaskLocalVariables" i can get all task local variables.
But when i am using taskNativeQuery i don't get task local variables and also there doesn't seem to be any API.

List<Task> tasks = taskService.createNativeTaskQuery()
                 .sql("SELECT * FROM ACT_RU_TASK a, ACT_RU_VARIABLE b where b.NAME_='projectID' and b.TEXT_ in ('1','2')"  )
                   .list();

Please suggest

Regards
Rohit

Outcomes