How can I create new object for existing empty variable?
3
In a microflow, in a retrieve object activity I retrieve an order, and assign it to a variable named shoppingCart. Then, if this variable is empty, in a create object activity I create an order, and try to assign it to the variable named shoppingCart. This results in an error 'A variable with the name 'shoppingCart' already exists'. What can I do to assign the newly created order to the existing variable?
asked
Hendrik Jan van Randen
2 answers
2
You can accomplish this by calling a submicroflow in which one end event returns an eventual existing order, and another end event returns an eventual newly created order.
(With many thanks to Benny for pointing this out to me.)
answered
Hendrik Jan van Randen
0
Thanks Hendrik , I got stuck with the similar issue and your Answer helped me to solve the Issues