The loss threshold violation object provides the result data type of the loss threshold report folder preformula. You can use the functions described here on this object.
Loss thresholdsViolation.violationPerformance→number
Result: The ViolationPerformance function provides the (percentage) performance of the portfolio to which the respective loss threshold notification relates.
Loss thresholdsViolation.violationPortfolio→Boolean
Result: The ViolationPortfolio function returns "Yes" if the portfolio is affected by the loss threshold violation.
Loss threshold violation.violationWPs→List(WPs)
Result: The ViolationWPs function returns the list of securities affected by the loss threshold violation (in a portfolio).