{"id":10012,"date":"2016-02-23T15:23:37","date_gmt":"2016-02-23T07:23:37","guid":{"rendered":"http:\/\/localhost\/help\/p2-server\/calculations\/catchlowconfidence\/"},"modified":"2024-01-17T10:31:07","modified_gmt":"2024-01-17T02:31:07","slug":"catchlowconfidence","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/catchlowconfidence\/","title":{"rendered":"CatchLowConfidence()"},"content":{"rendered":"\n<h2><span id=\"Format\">Format<\/span><\/h2>\n<p class=\"intro-text\"><strong>CatchLowConfidence(Expr ,DefaultValue [,Cutoff])<\/strong><\/p>\n<h2><span id=\"Returns\">Returns<\/span><\/h2>\n<p class=\"intro-text\">Returns the value of <em>Expr<\/em>, unless it has a low confidence value, in which case the value of <em>Default\u00a0<\/em>is returned instead.<\/p>\n<p class=\"note\">Note: From v4.9.6, the confidence of the replaced value uses the confidence of the replacement value (which is likely to be 100 since it's a single value variable). Prior to this, the replaced value kept the confidence of the source value (i.e. the low confidence).<\/p>\n<h2>Inputs<\/h2>\n<p class=\"intro-text\"><strong>Expr<\/strong>: The expression being evaluated.\u00a0Must evaluate to the same type as <em>Cutoff<\/em>.<br \/>\nBehaviour: Required<br \/>\nDimension: Collection, MultiCollection<br \/>\nValid\u00a0data types: Null, Boolean, DateTime, Decimal, Integer, String, Duration<\/p>\n<p class=\"intro-text\"><strong>Cutoff<\/strong>: Overrides the configured\u00a0<em>CalculationConfidenceCutoffThreshold<\/em>.\u00a0A value is regarded as bad if it is less than this value. Must evaluate to the same type as <em>Expr<\/em>.<br \/>\nBehaviour: Required\u00a0<br \/>\nDimension: SingleValue<br \/>\nValid\u00a0data types: Boolean, DateTime, Decimal, Integer, String, Duration, Error, Null<\/p>\n<p class=\"intro-text\"><strong>DefaultValue<\/strong>:\u00a0The value to be returned if the confidence value is less than the <em>Cutoff<\/em> value.<br \/>\nBehaviour:\u00a0Optional<br \/>\nDimension: SingleValue<br \/>\nValid data types: Integer<\/p>\n<p class=\"left-bar\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/calculation-syntax\/#Data_Type\">How to format data types<\/a><\/p>\n<h2>Examples<\/h2>\n<p class=\"intro-text\">Expression: <span class=\"code-fragment\">CatchLowConfidence({tagname}, 0, 20)<\/span><br \/>\nResult: Returns 0 if the confidence\u00a0of the tag\u00a0is less than or equal to 20.<\/p>\n<h2><span id=\"Release_History\">Release History<\/span><\/h2>\n<ul class=\"intro-text\">\n<li>CatchLowConfidence() 4.9.6\n<ul class=\"intro-text\">\n<li>The confidence of the replaced value will now use the confidence of the replacement value. Originally, the replaced value kept the confidence of the source value (i.e. the low confidence).<\/li>\n<\/ul>\n<\/li>\n<li>CatchLowConfidence() 4.6.5\n<ul class=\"intro-text\">\n<li>Changed Expr parameter to support MultiCollection values.<\/li>\n<\/ul>\n<\/li>\n<li>CatchLowConfidence() 4.0\n<ul class=\"intro-text\">\n<li>Initial version<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Use CatchLowConfidence() to get a default value if the confidence of the supplied expression is too low.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/catchlowconfidence\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":10026,"parent":3650,"menu_order":32,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[100,416,388],"class_list":["post-10012","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-calculations","tag-catch","tag-confidence","Version-4-0","Version-4-6-5","Version-4-9-6","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=10012"}],"version-history":[{"count":5,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10012\/revisions"}],"predecessor-version":[{"id":64664,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10012\/revisions\/64664"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/10026"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=10012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=10012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=10012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}