Home > Forum > Processes > Error when opening/deleting process

Error when opening/deleting process
0

Hi,
can anybody tell me what to do here?

When opening/deleting a process in the studio he receives an error with the following details (when imported into productions)
On production the process was in designer but after import it was removed

Appreciate any hint or help.
Thank you in advance.

(error details)
Typ: System.Collections.Generic.KeyNotFoundException
-------------------------------------------------------

Wiadomość:Dany klucz nie był obecny w słowniku.
-------------------------------------------------------

Ścieżka wywołania
-------------------------------------------------------
w System.ThrowHelper.ThrowKeyNotFoundException()
w System.Collections.Generic.Dictionary`2.get_Item(TKey key)
w System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)
w System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)
w System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
w WebCon.WorkFlow.Studio.Logic.Base.BusinessListBase`2.AddRange(IEnumerable`1 range)
w WebCon.WorkFlow.Studio.Logic.Managers.SubelementsFormFieldsManager.GetSubelementFormFields(StepForm stepForm, ICacheStore cacheStore)
w WebCon.WorkFlow.Studio.Logic.Managers.FormFieldsManager.GetFormFields(StepForm stepForm, AttributesCollection attributes, AttributesCollection systemAttributes, ICacheStore cacheStore)
w WebCon.WorkFlow.Studio.Logic.Managers.StepFormsManager.FillStepForms(Step step, ICacheStore cacheStore)
w WebCon.WorkFlow.Studio.Logic.Managers.StepsManager.GetSteps(StepsCollection steps, Int32 workFlowID, ICacheStore cacheStore)
w WebCon.WorkFlow.Studio.Logic.Managers.WorkFlowsManager.FillWorkFlowEntity(DocumentWorkFlowsCollection collection, WorkFlow dalEntity, WFStepForm defaultForm, WFStepForm mobileForm, ICacheStore cacheStore, Dictionary`2 stats)
w WebCon.WorkFlow.Studio.Logic.Managers.WorkFlowsManager.FillWorkFlows(DocumentWorkFlowsCollection documentWorkFlows, ICacheStore cacheStore, Int32 processId)
w WebCon.WorkFlow.Studio.Logic.Managers.ProcessesManager.FillProcessData(Process process)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessControl.set_DataSource(Process value)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.ProcessViewPresenterBase`2.Plug(TDataSource dataSource)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.SetDataSourceInner[TDataSource](ProcessNodeGroup processNodeGroup, IProcessViewPresenterBase`1 chosenPresenter, TDataSource dataSource)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.SetDataSourceInner[TDataSource](ProcessNodeGroup processNodeGroup, IProcessViewPresenterBase`1 chosenPresenter, TDataSource dataSource, StudioWaitStats waitStats)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessView.SetDataSource(Process process)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.SetViewDataSource(IProcessVirtualNode dataSource)
w WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.HandlePanelFocusedNodeChangedImpl(IProcessVirtualNode node)
w DevExpress.XtraTreeList.TreeList.RaiseAfterFocusNode(TreeListNode node)
w DevExpress.XtraTreeList.TreeList.InternalSetFocusedRowIndex(Int32 newFocusedRowIndex)
w DevExpress.XtraTreeList.Handler.TreeListHandler.TreeListControlState.ChangeSelection(RowInfo pressRowInfo, Boolean isLeftButton)
w DevExpress.XtraTreeList.Handler.TreeListHandler.NodePressedState.Init()
w DevExpress.XtraTreeList.Handler.TreeListHandler.SetControlState(TreeListState state)
w DevExpress.XtraTreeList.Handler.TreeListHandler.NormalState.OnPressNode()
w DevExpress.XtraTreeList.Handler.TreeListHandler.NormalState.MouseDown(MouseEventArgs e, TreeListHitTest ht)
w DevExpress.XtraTreeList.Handler.TreeListHandler.OnMouseDown(MouseEventArgs e)
w DevExpress.XtraTreeList.TreeList.OnMouseDown(MouseEventArgs e)
w System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
w System.Windows.Forms.Control.WndProc(Message& m)
w DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
w DevExpress.XtraTreeList.TreeList.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-------------------------------------------------------

Hi Michal,

i had a similar problem when I was importing a process from DEV to PROD because I added new steps in both environments. Their GUID's were different in DEV and PROD so there was a conflict between two versions of processes.

I updated GUID's in DEV with their values from PROD and it solved the issue.

https://community.webcon.com/community/public/forum/thread/6344

Kind regards
Zakhariy