Skip to content

#6261 add two vars to the alert template variable list#6262

Open
rogin wants to merge 1 commit intonextgenhealthcare:developmentfrom
rogin:alerts-add-envname
Open

#6261 add two vars to the alert template variable list#6262
rogin wants to merge 1 commit intonextgenhealthcare:developmentfrom
rogin:alerts-add-envname

Conversation

@rogin
Copy link
Copy Markdown

@rogin rogin commented Jul 19, 2024

Adds "serverName" and "environmentName" to the alert template variable list.
Requires Java 9+.
Requires an update to the documentation.

Test procedure:

  • Compile this patch with Java 9+ and start server
  • Login and get past initial account setup
  • Set Server Name and Environment Name under Settings tab
  • Import and deploy the two attached channels
  • Import the attached alert
  • Open the imported alert and validate two additional options are present on the right-hand side: "serverName" and "environmentName"
  • Validate the two additional options can be copied into the template text area
  • Send any message to channel "throws error"
  • Validate the resulting text in channel "Receiver" contains the Server Name and Environment Name as you defined in the Settings tab
  • Clear the Server Name and Environment Name under Settings tab, then re-run a message to ensure the alert template's values are replaced with empty strings

throws error.xml.txt
Receiver.xml.txt
Foo alert.xml.txt

@lbittle
Copy link
Copy Markdown

lbittle commented Jul 28, 2025

This PR is now part of BridgeLink 4.5.4 and released.

tonygermano pushed a commit to rogin/engine that referenced this pull request Mar 15, 2026
Issue: nextgenhealthcare/connect#6261
Original-pr: nextgenhealthcare/connect#6262
Signed-off-by: Richard Ogin <rogin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants