How to differentiate between a Service Catalog request submitted via Service Portal versus the PlatformDescription<!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Description How to set a sc_request field value based on whether the record was generated from the Service Portal or Platform Procedure The solution is basically to examine the URI Create a new custom field on sc_request which would store the value of where the sc_request was originated fromCreate a new Business RuleSet Table = sc_requestCheck the 'Advanced' checkboxOn 'When to run' tab, When = Before, Insert = checked, Update = checkedScript: (function executeRule(current, previous /*null when async*/) { var action = gs.action.getGlideURI().toString(); if (action.indexOf('service_catalog.do') > -1) { current.<newField> = 'from_platform'; } else current.<newField> = 'from_service_portal'; })(current, previous); NOTE: This is just a suggested solution which customers can customize, however it is not officially supported as out of box functionality. Applicable Versions All <!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} span.Apple-tab-span {white-space:pre} -->