Board Expressions
Unified Command Platform has a built-in <expression> tag for running expressions. An expression in programming is a combination of literals, variables, operators, and function calls that produce a value when evaluated. In Unified Command Platform, expressions work like the SELECT statement in Structured Query Language (SQL). When building boards in Unified Command Platform and DesignStudio, you can use expressions to calculate, identify, and verify board values. For example, you might use expressions to find the difference between two fields, count records with a certain status, or verify that field values are valid.
If you are familiar with SQL and want to learn how to use expressions with Unified Command Platform boards, the tables below provide examples to help you get started.
Refer to the Expressions/T-SQL Quick Reference Guide for many examples of expressions that can be used in Unified Command Platform.
After Action Review
| Expression Description | Expression |
|---|---|
|
Total AARs with a Status of Open |
|
|
Total Low Priority AARs |
|
|
Total Improvement Plans Included |
|
Event Reporting
| Expression Description | Expression |
|---|---|
|
Total Critical Events |
|
|
Total Not Reviewed |
|
|
Total Significant Events/Posted |
|
Facility Status
| Expression Description | Expression |
|---|---|
|
Total Operational Facilities |
|
|
Utility Internet Status (display “Unknown” if value is null or empty) |
|
|
Utility Power Status (display “Unknown” if value is null or empty) |
|
Requests and Tasks
| Expression Description | Expression |
|---|---|
|
Total Requests |
|
|
Total Active Requests |
|
|
Total Completed/Closed Requests |
|
|
Total Closed Deployments |
|
Shelters
| Expression Description | Expression |
|---|---|
|
Total Capacity of All Shelters |
|
|
Calculate Availability |
|
|
Total Open Shelters |
|