==================
at Infragistics.Win.UltraWinTree.UltraTree.ValidateKeyDoesNotExist(String key)
at Infragistics.Win.UltraWinTree.TreeNodesCollection.ValidateKeyDoesNotExist(String key)
at Infragistics.Win.UltraWinTree.TreeNodesCollection.AddNodeHelper(UltraTreeNode node, Boolean notify, Boolean internallyCreatedNode)
at Infragistics.Win.UltraWinTree.TreeNodesCollection.Add(Object value)
at Infragistics.Win.UltraWinTree.TreeNodesCollection.Add(UltraTreeNode node)
at Ice.Lib.Framework.EpiTreeView.treeLoader(EpiTreeNode parentNode, EpiDataView treeView, EpiTreeBinding treeBinding, String filter)
at Ice.Lib.Framework.EpiTreeView.BuildChildRows(EpiTreeNode parentNode)
at Ice.Lib.Framework.EpiTreeView.expandTreeNodes(IDictionary2 nodeStates, TreeNodesCollection nodes) at Ice.Lib.Framework.EpiTreeView.expandTreeNodes(IDictionary2 nodeStates, TreeNodesCollection nodes)
at Ice.Lib.Framework.EpiTreeView.ExpandTreeNodes(IDictionary`2 nodeStates, TreeNodesCollection nodes)
at Ice.Lib.Framework.EpiTreeView.ResetTreeData(Boolean preserveNodeState)
at Ice.Lib.Framework.EpiTreeView.OnNotification(EpiDataView view, EpiNotifyArgs ar, Boolean visibilityChanged)
at Ice.Lib.Framework.EpiTreeView.oDataView_EpiNotification(EpiDataView view, EpiNotifyArgs ar)
at Ice.Lib.Framework.EpiViewNotification.Invoke(EpiDataView view, EpiNotifyArgs args)
at Ice.Lib.Framework.EpiDataView.OnEpiViewNotification(EpiNotifyArgs e)
at Ice.Lib.Framework.EpiDataView.InnerNotify(EpiNotifyArgs args)
at Ice.Lib.Framework.EpiTransaction.NotifyAll()
at Erp.UI.App.HelpDeskEntry.Transaction.Update()
hi @klincecum thanks for the reply. I am trying to update a field via bpm -post processing and I want to refresh the case entry Maintenance screen after the bpm. for that i used get by id method in bpm. it is refreshing however i am encountering the Application error.
The error is exactly triggered after bpm run. can you please give me some examples to modify the data.
However when I remove getbyid method to refresh screen .the bpm works without any issue . but the user has to manually refresh the screen which is tedious.
I am still getting the same Error , what am i missing. surprisingly i don’t have any issue in any other screens for refreshing ui via bpm . the only caveat is here the case entry screen.
@josecgomez pretty much answered that.
He may have been a little quick on his answer, so it may not be 100%.
You can’t actually refresh a screen from a BPM.
However, the way most of the client screens are designed, they make a call, and the data that comes back from the base or post processing is processed on the client to update the screen and or do other actions.
So what you need to do, is in whatever dataset that comes back from your post, put that value you just set in there, and it should show up on the screen.
Looking at your BPM, I see a set field widget, but since you’re in post, that only sets something in the dataset that is returned, so nothing is saved at that point.