Home > Forum > General > Incorrect behavior when copying attributes

Incorrect behavior when copying attributes
0

Hi,

I wanted to ask if you're having trouble cloning/copying attributes in Designer Studio for WEBCON BPS 2026.1.4.131?

If I have an attribute, for example, WFD_AttChoose6, and I clone it, I see the value in the attribute in the new location (if it's given the same database name, i.e., WFD_AttChoose6) on the form, even though the attribute doesn't have a default value defined in Designer Studio.

Furthermore, in the location where I copied it, when I go to "Use" I see that it's being used in the location from which I copied it.

I'm wondering if this isn't a global problem with business rules, because when saving changes in Designer Studio, I now often get an error suggesting that a business rule with this ID already exists.

I would appreciate your feedback.

Regards,
D.

--1--

Typ: System.ArgumentException
-------------------------------------------------------

Wiadomość:Cannot add to index of type WFBusinessRuleParameters entry with ID 6
Nazwa parametru: row
-------------------------------------------------------

Ścieżka wywołania
-------------------------------------------------------
w WebCon.WorkFlow.BusinessLogic.ImportExport.Mapping.MappingList.IncludeInIndexes(MappingListRow row, Boolean addIfNotContains)
w WebCon.WorkFlow.BusinessLogic.ImportExport.Mapping.MappingList.AddOrUpdate(MappingListRow row)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityCheckModel.AddIfNotContains(MappingListRow row)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityModelUpdater.PrepareCollectionsForMappingRows(IEnumerable`1 rows)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityModelUpdater.UpdateModel(IEnumerable`1 entities)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityInspector.UpdateSpecificEntities(IEnumerable`1 entities)
w WebCon.WorkFlow.Studio.Logic.IntegrationInspection.StudioIntegrityInspector.<UpdateEntities>b__20_0()
w System.Threading.Tasks.Task.Execute()
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w WebCon.WorkFlow.Studio.Logic.IntegrationInspection.AwaitableIntegrityInspector.<WaitForAll>d__16.MoveNext()
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w WebCon.WorkFlow.Studio.Logic.Managers.ProcessesManager.<Save>d__10.MoveNext()
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.<>c__DisplayClass156_0.<<SaveProcess>b__1>d.MoveNext()
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.<LockPanelAndExecuteSave>d__154`1.MoveNext()
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.<SaveProcess>d__156.MoveNext()
-------------------------------------------------------


*******************************************************
Wewnętrzny błąd (ArgumentException)
*******************************************************

Typ: System.ArgumentException
-------------------------------------------------------

Wiadomość:Element o tym samym kluczu został już dodany.
-------------------------------------------------------

Ścieżka wywołania
-------------------------------------------------------
w System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
w System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
w WebCon.WorkFlow.BusinessLogic.ImportExport.Mapping.MappingList.IncludeInIndexes(MappingListRow row, Boolean addIfNotContains)
-------------------------------------------------------

--2--

Typ: System.AggregateException
-------------------------------------------------------

Wiadomość:Wyjątków zadania nie zaobserwowano ani przez oczekiwanie na zadanie, ani przez uzyskanie dostępu do jego właściwości Exception. W wyniku tego niezaobserwowany wyjątek został wywołany ponownie przez wątek finalizatora.
-------------------------------------------------------

Ścieżka wywołania
-------------------------------------------------------

-------------------------------------------------------


*******************************************************
Wewnętrzny błąd (ArgumentException)
*******************************************************

Typ: System.ArgumentException
-------------------------------------------------------

Wiadomość:Cannot add to index of type WFBusinessRuleDefinitions entry with ID 9281
Nazwa parametru: row
-------------------------------------------------------

Ścieżka wywołania
-------------------------------------------------------
w WebCon.WorkFlow.BusinessLogic.ImportExport.Mapping.MappingList.IncludeInIndexes(MappingListRow row, Boolean addIfNotContains)
w WebCon.WorkFlow.BusinessLogic.ImportExport.Mapping.MappingList.AddOrUpdate(MappingListRow row)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityCheckModel.AddIfNotContains(MappingListRow row)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityModelUpdater.PrepareCollectionsForMappingRows(IEnumerable`1 rows)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityModelUpdater.UpdateModel(IEnumerable`1 entities)
w WebCon.WorkFlow.Module.IntegrityInspection.Core.IntegrityInspection.IntegrityInspector.UpdateSpecificEntities(IEnumerable`1 entities)
w WebCon.WorkFlow.Studio.Logic.IntegrationInspection.StudioIntegrityInspector.<UpdateEntities>b__20_0()
w System.Threading.Tasks.Task.Execute()
-------------------------------------------------------


*******************************************************
Wewnętrzny błąd (ArgumentException)
*******************************************************

Typ: System.ArgumentException
-------------------------------------------------------

Wiadomość:Element o tym samym kluczu został już dodany.
-------------------------------------------------------

Ścieżka wywołania
-------------------------------------------------------
w System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
w System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
w WebCon.WorkFlow.BusinessLogic.ImportExport.Mapping.MappingList.IncludeInIndexes(MappingListRow row, Boolean addIfNotContains)
-------------------------------------------------------

Nobody has replied in this thread yet.