{"id":683,"date":"2022-01-04T16:33:09","date_gmt":"2022-01-04T16:33:09","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=683"},"modified":"2022-08-02T18:38:23","modified_gmt":"2022-08-02T18:38:23","slug":"named-constant","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/named-constant\/","title":{"rendered":"Named Constant"},"content":{"rendered":"<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p><a name=\"abstract\"><\/a>Requires deployed extension&nbsp;<a href=\"https:\/\/integroscrm.com\/lb-components\/\" target=\"_blank\" rel=\"noreferrer noopener\">LB&nbsp;Named Constants<\/a> into Sugar Environment.<\/p>\n<p>LB Named Constants Extension allows setting in Sugar interface parameters that are used in the flowchart.<\/p>\n<p>Is often used for:<\/p>\n<ul>\n<li>to set up sensitive data like API keys or passwords to not to provide them in the uploaded package<\/li>\n<li>to set up often changed parameters, like assigned users, email addresses, etc, to not to redeploy the whole flowchart when there is a need to change a value for a parameter<\/li>\n<\/ul>\n<p>Please check extension details and usage details here.<\/p>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Returns value of the given Named Constant. Often is used to set the value in a field using it as input into <a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/set-entity-attributes\/\">Set Entity Attributes<\/a><\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p>select Named Constant from the list. The list is formed from the records in Named Constants module of Sugar instance which metadata is currently uploaded.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p>Tip: if there is no needed Named Constant in the list, try to refresh Metadata<\/p>\n<\/div>\n\n\n<p>Click the &#8216;Show&#8217; button to see the Named Constant value in the currently uploaded Metadata.<\/p>\n\n\n<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p>Keep in mind, that the value is read from the Named Constant record when the code, generated by the flowchart, is executed.<\/p>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p>value is the given Named Constant.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-47-e8d9bb28c8524fdc8c00a2a01c334139.png\" alt=\"\" class=\"wp-image-471\" width=\"653\" height=\"227\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-47-e8d9bb28c8524fdc8c00a2a01c334139.png 1013w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-47-e8d9bb28c8524fdc8c00a2a01c334139-300x104.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-47-e8d9bb28c8524fdc8c00a2a01c334139-768x267.png 768w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/figure>\n\n\n\n<p><\/p>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_683' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-683\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-dbf096e97477a' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-dbf096e97477a'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='683' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-dbf096e97477a\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"683\" \n                               id=\"yasr-stats-dashicon-dbf096e97477a\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-dbf096e97477a\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-dbf096e97477a\">0<\/span>  Average: <span id=\"yasr-vv-average-container-dbf096e97477a\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-dbf096e97477a' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-dbf096e97477a' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Requires deployed extension&nbsp;LB&nbsp;Named Constants into Sugar Environment. LB Named Constants Extension allows setting in Sugar interface parameters that are used in the flowchart. Is often used for: to set up sensitive data like API keys or passwords to not to provide them in the uploaded package to set up often changed parameters, like assigned users, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/named-constant\/\"> <span class=\"screen-reader-text\">Named Constant<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-683","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=683"}],"version-history":[{"count":14,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/683\/revisions"}],"predecessor-version":[{"id":2030,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/683\/revisions\/2030"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=683"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}