AnsweredAssumed Answered

Persistence of UserTasks

Question asked by mpriess on Aug 22, 2013
Latest reply on Aug 23, 2013 by mpriess
Hi,

I have a process with a UserTask and exclusive gateway and I save the values form the form with the following code snippt:

{code}
    public void confirmUserTask(String taskId, Map<String, String> parameterMap)
    {
        synchronized (USER_TASK_ACCESS_SEMAPHOR)
        {
            taskService.setVariables(taskId, parameterMap);
        }
        taskService.complete(taskId);
    }
{code}

After the value is persisted I looked into the database and my value is "serializable".

Now the exlusive gateway use internally an evaluation and return all time false for this expression.

My expression:
{code}
${USER_QA_NECESSARY == 'true'}
{code}

Is this the right way to persist values and use expressions?

Cheers,

Michael

Outcomes