Skip to content

Commit

Permalink
feat: Add is_multi_selection process flag. (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt authored Oct 16, 2024
1 parent 83c0000 commit 71c9ad4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ public DictionaryDocument withEntity(PO entity) {
documentDetail.put("is_active", process.isActive());
documentDetail.put("show_help", process.getShowHelp());

boolean isMultiSelection = false;
if (process.get_ColumnIndex("SP003_IsMultiSelection") >= 0) {
isMultiSelection = process.get_ValueAsBoolean("SP003_IsMultiSelection");
}
documentDetail.put("is_multi_selection", isMultiSelection);

// Report
documentDetail.put("is_report", process.isReport());
if(process.isReport()) {
Expand Down

0 comments on commit 71c9ad4

Please sign in to comment.