setSubResultStatus

Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add status to the check or subcheck result

Syntax

setSubResultStatus(ft_obj, 'status')

Description

setSubResultStatus(ft_obj, 'status') is an optional method that displays the status in the result. Use this method to display the status of the check or subcheck in the result. ft_obj is a handle to a template object. status is a character vector identifying the status of the check:

Pass: Check did not identify issues.
D-Pass: Dependent on configuration parameter. Check did not identify issues.
Warn: Check has identified issues.
Fail: Check fails to execute.

Examples

Create a list object, ft, and add a passing status:

ft = ModelAdvisor.FormatTemplate('ListTemplate');
setSubResutlStatus(ft, 'Pass');