Hello,
I’m using the Rest Connector to enrich my process instance with some informations, so, I do a multi instance to collect each entity for a given id. But when I try to push or append(in a list), apparently the result expression can’t access variables from the process.
So, I want to know if we have some approach to avoid this and allow me to use the multi instance process to collect the entities.
Hi @Hanor_Cintra_ROIT ,
Could you please share the bpmn file if possible(without credentials ofc)? That would help us better understand the issue.
Hello @mark.farkas,
Yes, I put an attachment that is a process thats receives an array of zipCodes, and for each of the zipCodes I collect the province of the zipCode. But when I try to append on the array that exists in the process, the final value of the variable is null. Check the resultExpression and the startEvent output definition.
If I don’t use the variable of a process and put as first parameter of the append expression , the final value will be the last zipCode province.
The payload used to start was: { “zipCodes”: [“83833430”,“83810000”] } and the Zeebe version is 8.2.8
zip-code-enrich.bpmn (7.7 KB)