ChewCheeLim

Multi-threading AF SDK calls to add AFElements resulting in error: Can not add Element because there is another Element with an identical UniqueID.

Discussion created by ChewCheeLim on Sep 5, 2014
Latest reply on Sep 12, 2014 by MBanchuzhnyy
Hi There, we are multi-threading our processes to add AFElements. During testing, we are running into below issues. If we are single-threaded our process to add AFElement, then it would go away. How should we solve this problem in AF SDK call to avoid generating the same GUID\or unique key in this case ? Cannot add Element 'DgPoints' with UniqueID 'e77956e0-c6fd-4116-9282-b745c421c02c' because there is another Element with an identical UniqueID.

Outcomes