# Workflows Behaving Badly

**URL:** <https://forums.toadworld.com/t/workflows-behaving-badly/46747>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [June 7, 2019, 3:47pm UTC](https://forums.toadworld.com/t/workflows-behaving-badly/46747 "2019-06-07T15:47:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![InfoMan](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/infoman/32/322_2.png) [@InfoMan](https://forums.toadworld.com/u/InfoMan)\
**Post date:** [June 7, 2019, 3:47pm UTC](https://forums.toadworld.com/t/workflows-behaving-badly/46747/1 "2019-06-07T15:47:21Z")

</div>

Just upgraded to 5.0.4.45 and Workflows are not behaving nicely.

I have a WorkBook with two Workflows. This WorkBook was created in the previous version.

- Workflow 1 has one query, then three pivots are created from it...each pivot exports to a separate Excel file.

- Workflow 2 has one query, one pivot is created from it, and then one Excel file from the pivot.

- I click Execute All.

- Workflow 1's query runs, then the pivots begin to refresh, and the Excel files are created.

- Workflow 2's query runs, the pivot window shows a large red X, but the Excel file does create successfully.

- I right-click the pivot with the red X and "Refresh from here". Then this dialog box appears:  
DevExpress.XtraPivotGrid.ViewInfo.DoubleEntranceViewInfoCalculationException  
double entrance  
Stack Trace:  
at DevExpress.XtraPivotGrid.ViewInfo.BaseViewInfo.Calculate()  
at DevExpress.XtraPivotGrid.Data.PivotGridViewInfoData.get\_ViewInfo()  
at DevExpress.XtraPivotGrid.Customization.PivotCustomizationTreeBox.CreateItemViewInfo(IVisualCustomizationTreeItem item)  
at DevExpress.XtraPivotGrid.Customization.PivotCustomizationTreeBoxBase.GetItemViewInfo(Int32 index)  
at DevExpress.XtraPivotGrid.Customization.PivotCustomizationTreeBoxBase.DrawItemObject(GraphicsCache cache, Int32 index, Rectangle bounds, DrawItemState itemState)  
at DevExpress.XtraEditors.Customization.CustomizationListBoxBase.RaiseDrawItem(ListBoxDrawItemEventArgs e)  
at DevExpress.XtraEditors.Drawing.BaseListBoxPainter.DrawItem(ControlGraphicsInfoArgs info, ItemInfo itemInfo)  
at DevExpress.XtraEditors.Drawing.BaseListBoxPainter.DrawVisibleItems(ControlGraphicsInfoArgs info)  
at DevExpress.XtraEditors.Drawing.BaseListBoxPainter.DrawContent(ControlGraphicsInfoArgs info)  
at DevExpress.XtraEditors.Drawing.BaseControlPainter.Draw(ControlGraphicsInfoArgs info)  
at DevExpress.XtraEditors.BaseControl.OnPaint(PaintEventArgs e)  
at DevExpress.XtraEditors.BaseListBoxControl.OnPaint(PaintEventArgs e)  
at DevExpress.XtraEditors.Customization.CustomizationListBoxBase.OnPaint(PaintEventArgs e)  
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)  
at System.Windows.Forms.Control.WmPaint(Message& m)  
at System.Windows.Forms.Control.WndProc(Message& m)  
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)  
at DevExpress.XtraEditors.BaseListBoxControl.WndProc(Message& m)  
at DevExpress.XtraPivotGrid.Customization.PivotCustomizationTreeBoxBase.WndProc(Message& m)  
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)  
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)  
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Click OK, and while the pivot window remains a red X, the Excel file does successfully export.

I then looked back at Workflow 1's pivots to discover that 1 of the 3 pivots also has the red X and the data is not displayed.

---

<div class="post-metadata">

**Author:** ![gmartin](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@gmartin](https://forums.toadworld.com/u/gmartin)\
**Post date:** [June 7, 2019, 4:05pm UTC](https://forums.toadworld.com/t/workflows-behaving-badly/46747/2 "2019-06-07T16:05:36Z")

</div>

I was also able to duplicate the exact same error.

---

<div class="post-metadata">

**Author:** ![dan](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/dan/32/12882_2.png) [@dan](https://forums.toadworld.com/u/dan)\
**Post date:** [June 10, 2019, 11:32am UTC](https://forums.toadworld.com/t/workflows-behaving-badly/46747/3 "2019-06-10T11:32:56Z")

</div>

Hi, this is a defect. It is logged under QAT-14939 and we're working on it.  
br,  
dan
