I open a new workflow.
I insert a table tool.
I click on XML tab.
I edit xml.
I paste the following xml snippet.
I click off and click back onto the xml pane.
The xml has now changed in two notable ways:
1) <TableFields orderChanged="True"> has become <TableFields orderChanged="False">
2) All <SimpleVar>Col2 Flag</SimpleVar> have become <SimpleVar />
Although this is an example, this is REAL behavior I am experiencing in a workflow. The XML will change in the above ways SEEMINGLY AT RANDOM for random tables at random times. Running the workflow does not correct it. <SimpleVar /> will remain <SimpleVar /> and literally prevent my tables form working correctly and workflow from finishing.
I cannot share my main workflow or data due to security, but I am at least able to recreate the core of the issue as described here. Due to the seemingly RANDOM timing of the XML going bonk in my proper workflow, I have wasted considerable time on this thinking I am fixing issues but going in circles.
Why is it doing this?
Can anyone reproduce my example??
<Configuration>
<TableMode>Basic</TableMode>
<GroupingFields orderChanged="False" />
<Width>100%</Width>
<ShowHeader value="True" />
<ShowBarGraph value="False" />
<TableFields orderChanged="True">
<Field name="Col0" selected="True" Alignment="Left" Borders="Left" Width="" />
<Field name="Col1" selected="True" Alignment="Left" Width="" Borders="Right" />
<Field name="Col2" selected="True" Alignment="Right" Borders="Left" Width="" Places="0" />
<Field name="Avg Col2" selected="True" Alignment="Right" Alias="Average Col2" Width="" Places="0" Borders="Right" />
</TableFields>
<TableStyles>
<Style Name="Data" Font="Arial" Size="8" TextColor="#000000" BackColor="#ffffff" AltColor="#f0f0f0" RowGroup="1" />
<Style Name="Header" Font="Arial" Size="10" TextColor="#000000" BackColor="#dbdbdb" />
<Style Name="Borders" Width="3" DataColor="#000000" HeaderColor="#000000" RowBorder="None" BasicColBorder="Default (Use Per Column Setting)" />
<Style Name="Table" CellPadding="0" ColumnPadding="0" TableBorder="true" Width="2" BorderColor="#000000" />
</TableStyles>
<StyleRules>
<Rule Name="e3436a35-8897-40ad-bba0-ce554d91a997">
<RowRule value="False" />
<HighPrecedence value="False" />
<Field>Col2</Field>
<Test>Simple</Test>
<ApplyTo>Data</ApplyTo>
<SimpleVar>Col2 Flag</SimpleVar>
<SimpleOp>==</SimpleOp>
<SimpleConst>Red</SimpleConst>
<Formula>1</Formula>
<Style BackColor="#ff0000" />
<PrettyName>Red Flag</PrettyName>
</Rule>
<Rule Name="d3cc27e0-2235-41a7-babe-d0a5aa5f9111">
<RowRule value="False" />
<HighPrecedence value="False" />
<Field>Col2</Field>
<Test>Simple</Test>
<ApplyTo>Data</ApplyTo>
<SimpleVar>Col2 Flag</SimpleVar>
<SimpleOp>==</SimpleOp>
<SimpleConst>Orange</SimpleConst>
<Formula>1</Formula>
<Style BackColor="#ff8000" />
<PrettyName>Orange Flag</PrettyName>
</Rule>
<Rule Name="1f930df9-cf63-456d-b8cb-69b542832906">
<RowRule value="False" />
<HighPrecedence value="False" />
<Field>Col2</Field>
<Test>Simple</Test>
<ApplyTo>Data</ApplyTo>
<SimpleVar>Col2 Flag</SimpleVar>
<SimpleOp>==</SimpleOp>
<SimpleConst>Yellow</SimpleConst>
<Formula>1</Formula>
<Style BackColor="#ffff00" />
<PrettyName>Yellow Flag</PrettyName>
</Rule>
<Rule Name="821efedd-0371-402c-8eb1-01bdc5e1008d">
<RowRule value="False" />
<HighPrecedence value="False" />
<Field>Col2</Field>
<Test>Simple</Test>
<ApplyTo>Data</ApplyTo>
<SimpleVar>Col2 Flag</SimpleVar>
<SimpleOp>==</SimpleOp>
<SimpleConst>Green</SimpleConst>
<Formula>1</Formula>
<Style BackColor="#00ff00" />
<PrettyName>Green Flag</PrettyName>
</Rule>
<Rule Name="ad0cd3be-ac95-4900-91b6-6e9421d08925">
<RowRule value="False" />
<HighPrecedence value="False" />
<Field>Col2</Field>
<Test>Simple</Test>
<ApplyTo>Data</ApplyTo>
<SimpleVar>Col2 Flag</SimpleVar>
<SimpleOp>==</SimpleOp>
<SimpleConst>Blue</SimpleConst>
<Formula>1</Formula>
<Style BackColor="#0099d8" />
<PrettyName>Blue Flag</PrettyName>
</Rule>
</StyleRules>
</Configuration>