Skip to content

Commit

Permalink
Merge pull request #22 from arbelatech/feature/FixWorkflowApprovalType
Browse files Browse the repository at this point in the history
Fix issue with workflow outcomes not showing in tree for workflow app…
  • Loading branch information
caleblanchard authored Sep 30, 2022
2 parents c466898 + 13a4f5f commit 74361dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public class ARBAOTBrowserConstants
public static const str Declaration = 'Declaration';
public static const str Constraints = 'Constraints';
public static const str DataField = 'DataField';
public static const str AxWorkflowOutcome = 'AxWorkflowOutcome';
}
]]></Declaration>
<Methods />
Expand Down
6 changes: 5 additions & 1 deletion Metadata/AOTBrowser/AOTBrowser/AxClass/ARBAOTObjectTree.xml
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,11 @@ public class ARBAOTObjectTree
PropertyInfo prop = props.GetValue(i);
if (prop.PropertyType.Name != ARBAOTBrowserConstants::String
&& (prop.Name == ARBAOTBrowserConstants::ViewMetadata || prop.Name == ARBAOTBrowserConstants::DataSource || prop.Name == ARBAOTBrowserConstants::Design || prop.Name == ARBAOTBrowserConstants::FormControl))
&& (prop.Name == ARBAOTBrowserConstants::ViewMetadata
|| prop.Name == ARBAOTBrowserConstants::DataSource
|| prop.Name == ARBAOTBrowserConstants::Design
|| prop.Name == ARBAOTBrowserConstants::FormControl
|| prop.PropertyType.Name == ARBAOTBrowserConstants::AxWorkflowOutcome))
{
var propValue = prop.GetValue(_object);
TreeItemIdx idx = SysFormTreeControl::addTreeItem(treeControl, prop.Name, parentIdx, propValue, 0, true, 0, _formTreeAdd);
Expand Down

0 comments on commit 74361dd

Please sign in to comment.