Task email notifications for baseline

I am trying to figure out how i can customize the email notifications (https://www.ibm.com/support/knowledgecenter/en/SS6MER_9.5.0/com.ibm.bigfix.doc/Platform/Config/sa_commonnotificationusage.html)

I have this task run at the end of my baseline, i get an email great! but i would like to see if its possible to pull more information from the baseline because when i go to the baseline in the console it says its failed is it possible to pull the status like i am able to get {actionName} or {actionID} so something like this?

// NOTIFICATION_START
// to: "me@me.com, you@you.com"
// from: "noreply@bigfixteam.mycompany.com"
// subject: "Basline ‘{actionName}’ with ID {actionID} has {BASELINE STATUS} "
// body: “The Baseline {BASELINE STATUS}”
// scope: “parent”
// NOTIFICATION_END

Hello, meyrickj

Have you tried to use the following line:
// failure-trigger: "1"

Per our doc (https://www.ibm.com/support/knowledgecenter/en/SS6MER_9.5.0/com.ibm.bigfix.doc/Platform/Config/sa_commonnotificationusage.html):
"This defines the number of failures that cause the notification to be sent. When this key is
specified, the notification is sent when the specified number of failures occurs. When this key is
omitted, the notification is sent when it completes. Enter a whole number greater than zero. This is
an optional key."

Yea i have tried that and it works but i want an email notification regardless and didn’t know if you can dynamically get the status like you can get the action name so i know whether something completed successfully kor failed and then i would need to take action.