AnsweredAssumed Answered

Issue accessing multi instance loop variable in subprocess

Question asked by dmsaad on Sep 20, 2013
I am having an issue accessing the response variable in the multi instance loop of a subprocess in a conditional sequence flow.

<multiInstanceLoopCharacteristics isSequential="false" activiti:collection="${wf_responses}" activiti:elementVariable="response">

The following line works anywhere inside the subprocess tasks and startevent
if(["wf:responseType"] == "MGT"){

But when I try to use the same thing in a conditional sequence flow, it's seeing response as a noderef and won't let me do a .properties on it.

<conditionExpression xsi:type="tFormalExpression">${["wf:responseType"] == "MGT"}</conditionExpression>

I am also not able to call any of the JavaScript APIs inside the conditionExpression; for example people.getPerson(username).

Thanks a lot for your help.