Author Message
KatalinOrbán
Joined: Jan 13, 2017
Messages: 25
Offline
Refering to https://forge.avaya.com/forum/forum.php?thread_id=6557&forum_id=6013
Avaya Engagement Designer Version : 3.2.0.1.00013

Hi all,

here in my ShareFile folder you can find 2 workflow samples attached.

Both of them are a sample for assigning more object to a multiple objects with Assign Task.

The simple-one is working:
--------------------------------------------
AssignMoreObjectToTheList_simple.xml

In this case we have:
- a sampleListOfObjects which is a multiple objects
- a listOfObjectsToAdd which contains 2 objects to add to the sampleListOfObjctes
- objectToAdd1 and objectToAdd2 which are simple objects to add to the sampleListOfObjctes

At the end of the flow (with debug you can see):
- we have 4 objects in sampleListOfObjects

The complex one is NOT working: (screenshot attached)
--------------------------------------------
AssignMoreObjectToTheList_complex.xml

In this case we have:
- a ContextStore object, the interesting part of this is csDataInput / data / ServiceMap / 1 / attributes which should contain the 4 new items at the end of the workflow
- tempServiceMapAttributes object which contains 4 objects to add to the ContextStore csDataInput / data / ServiceMap / 1 / attributes

At the end of the flow (with debug you can see):
- the ContextStore csDataInput / data / ServiceMap / 1 / attributes does only have the last added object
- it seems in this case the 4 assign at the same time overrides each other and the last one will dominate

The technic is the same.
What is the difference?
Why append is working in one case and why override is working in other case?

I realy need to fix this asap.
Thank you in advance for your help!

Kind regards:
Katalin Orban
Filename AssignMoreObjectToTheList_complex.xml [Disk] Download
  • [Thumb - overrideInsteadOfAppend.jpg]
[Disk] Download
Filename AssignMoreObjectToTheList_simple.xml [Disk] Download
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
This has been fixed in latest unreleased code (on Dec 15, 2016), now the array is appended to even in complex case, please see screenshot attached
  • [Thumb - Append.png]
[Disk] Download
Go to:   
Mobile view