{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":46372,"path":"service-exchange/service-bridge-v2-installed-components-customer.md","title":"Components installed with Service Exchange for Consumers","bundle":null,"doc_type":null,"release":"australia","body":"\n# Components installed with Service Exchange for Consumers\n\nSeveral types of components are installed with activation of the Service Exchange for Consumers application including tables, user roles, and business rules.\n\n**Note:** The Application Files \\[sys\\_metadata\\] table lists the components that are installed with this application. For instructions on how to access this table, see [Find components installed with an application](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/find-components.md).\n\n## Roles installed\n\nThe following roles are installed with the Service Exchange for Consumers application.\n\n<table id=\"table_gtr_pw3_bmb\"><thead><tr><th>\n\nRole title \\[name\\]\n\n</th><th>\n\nDescription\n\n</th><th>\n\nContains roles\n\n</th></tr></thead><tbody><tr><td>\n\nService Exchange admin \\[sn\\_sb.admin\\]\n\n</td><td>\n\n-   Typically assigned to an administrator for the Service Exchange applications on both the customer and the provider side.\n-   Provides read access to all Service Exchange tables\n\n</td><td>\n\n-   sn\\_sb.read\n-   sn\\_sb.requestor\n-   sn\\_sb.remote\\_task\\_creator\n-   flow\\_designer\n-   catalog\n\n</td></tr><tr><td>\n\nService Exchange read \\[sn\\_sb.read\\]\n\n</td><td>\n\nProvides read-only access to provider tasks\n\n</td><td>\n\nN/A\n\n</td></tr><tr><td>\n\nService Exchange requester \\[sn\\_sb.requestor\\]\n\n</td><td>\n\nProvides access to remote record producers and provider tasks\n\n</td><td>\n\nN/A\n\n</td></tr></tbody>\n</table>## Business rules installed\n\nThe following business rules are installed with the Service Exchange for Consumers application.\n\n<table id=\"table_lgm_zdq_gzb\"><thead><tr><th>\n\nBusiness rule\n\n</th><th>\n\nTable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nAbort Duplicate Remote Task Insert\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nAborts remote task insert if one already exists matching the same parent and remote task definition.\n\n</td></tr><tr><td>\n\nAbort if duplicate transform is found\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_transform\\]\n\n</td><td>\n\nAborts transform insert if duplicate is found.\n\n</td></tr><tr><td>\n\nAbort if duplicate URL\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_connection\\]\n\n</td><td>\n\nAborts connection record insert if record with same URL is found.\n\n</td></tr><tr><td>\n\nAbort Remote Task Create If Missing Conn\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nAborts remote task insert if connection field is empty.\n\n</td></tr><tr><td>\n\nAdd provider connection data to session\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_connection\\]\n\n</td><td>\n\nSaves connection data for later use.\n\n</td></tr><tr><td>\n\nChange state to Work in Progress\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nUpdates State to Work in Progress for provider tasks.\n\n</td></tr><tr><td>\n\nCheck provider published variable\n\n</td><td>\n\n\\[item\\_option\\_new\\]\n\n</td><td>\n\nVerifies if the provider side variable published is valid.\n\n</td></tr><tr><td>\n\nCheck Remote Task Def Simple Triggers\n\n</td><td>\n\n\\[task\\]\n\n</td><td>\n\nChecks if changes to parent task have triggered changes in the Remote Task Definition simple trigger conditions.\n\n</td></tr><tr><td>\n\nClear Remote Task Client Data\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nClears client data associated with remote tasks after the transaction is completed.\n\n</td></tr><tr><td>\n\nCreate or Update Transport Connection\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_connection\\]\n\n</td><td>\n\nManages transport connection insert and update.\n\n</td></tr><tr><td>\n\nCreate parent on synced remote task\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nCreates parent task for synced remote tasks.\n\n</td></tr><tr><td>\n\nDelete associated records\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\_def\\]\n\n</td><td>\n\nDeletes related records when Remote Task Definition is deleted.\n\n</td></tr><tr><td>\n\nDisconnect RT when RTD Deleted\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\_def\\]\n\n</td><td>\n\nDisconnects all associated remote tasks when Remote Task Definition is deleted.\n\n</td></tr><tr><td>\n\nError RT when Parent Deleted\n\n</td><td>\n\n\\[task\\]\n\n</td><td>\n\nErrors out all associated remote tasks when parent task is deleted.\n\n</td></tr><tr><td>\n\nGenerate OAuth registry\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_connection\\]\n\n</td><td>\n\nCreates OAuth registry for a connection.\n\n</td></tr><tr><td>\n\nHandle authorized user transport\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_authorized\\_user\\]\n\n</td><td>\n\nSends authorized user records through transport layer.\n\n</td></tr><tr><td>\n\nInactive Remote Task Definition when archived\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\_def\\]\n\n</td><td>\n\nDeactivates Remote Task Definition on consumer instance when archived by provider.\n\n</td></tr><tr><td>\n\nPopulate Company on Consumer\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nSets company field on provider tasks on Insert.\n\n</td></tr><tr><td>\n\nPopulate Provider task data\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nAdds extra data on Insert of Provider Task.\n\n</td></tr><tr><td>\n\nProcess Deleted Entitlements\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_entitlement\\]\n\n</td><td>\n\nManages entitlement deletion by deleting associated elements.\n\n</td></tr><tr><td>\n\n \n\n</td><td>\n\n \n\n</td><td>\n\n \n\n</td></tr><tr><td>\n\nProcess Entitlement attachment changes\n\n</td><td>\n\n\\[sys\\_attachment\\]\n\n</td><td>\n\nManages changes to attachments for entitlements.\n\n</td></tr><tr><td>\n\nProcess New and Updated Entitlements\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_entitlement\\]\n\n</td><td>\n\nManages creation of new entitlements and updates to existing entitlements.\n\n</td></tr><tr><td>\n\nPropagate Service Exchange Version Changes\n\n</td><td>\n\n\\[v\\_plugin\\]\n\n</td><td>\n\nTracks and updates settings when Service Exchange version is updated.\n\n</td></tr><tr><td>\n\nRemote Choice: cache user selection\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nCaches user selections to prevent repeat requests for the same data.\n\n</td></tr><tr><td>\n\nRetry Errored RT on RTD Activation\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\_def\\]\n\n</td><td>\n\nAttempts to create parent task creation for remote tasks with errors when the associated remote task definition is activated.\n\n</td></tr><tr><td>\n\nSet company field on remote task insert\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nSets the company field for remote tasks during Insert.\n\n</td></tr><tr><td>\n\nSet Connection Id from RRP\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nSets the Connection Id from the Remote Record Producer associated with the Provider Task.\n\n</td></tr><tr><td>\n\nSet Customer Version on Settings Insert\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_service\\_bridge\\_settings\\]\n\n</td><td>\n\nSets the Service Exchange for Consumer application version on Settings during the Insert operation.\n\n</td></tr><tr><td>\n\nSet default values\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_authorized\\_user\\]\n\n</td><td>\n\nSets default values on authorized users when created.\n\n</td></tr><tr><td>\n\nSet outbound vars json on insert\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nSets the outbound json field on remote tasks when inserted by current instance.\n\n</td></tr><tr><td>\n\nSet Provider task number\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nSets provider task number on insert from client data\n\n</td></tr><tr><td>\n\nSet Remote Task number\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nSets remote task number on insert from client data\n\n</td></tr><tr><td>\n\nSet Table Details On Virtual Transform\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_transform\\]\n\n</td><td>\n\nSets table data on virtual transforms.\n\n</td></tr><tr><td>\n\nSync Attachment from Parent Task\n\n</td><td>\n\n\\[sys\\_attachment\\]\n\n</td><td>\n\nSyncs attachments from parent task to all remote tasks associated with parent task.\n\n</td></tr><tr><td>\n\nSync Remote Task Attachment to Parent\n\n</td><td>\n\n\\[sys\\_attachment\\]\n\n</td><td>\n\nSyncs attachments from remote task to parent task.\n\n</td></tr><tr><td>\n\nTrigger changed attachment transport\n\n</td><td>\n\n\\[sys\\_attachment\\]\n\n</td><td>\n\nTriggers attachment sync through transport layer when updated.\n\n</td></tr><tr><td>\n\nTrigger consumer PT transport\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nTriggers provider task sync through transport layer.\n\n</td></tr><tr><td>\n\nTrigger consumer remote task transport\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nTriggers remote task sync through transport layer during Insert or Delete operations.\n\n</td></tr><tr><td>\n\nTrigger inserted attachment transport\n\n</td><td>\n\n\\[sys\\_attachment\\]\n\n</td><td>\n\nTriggers attachment sync through transport layer during Insert operation.\n\n</td></tr><tr><td>\n\nTrigger remote task transport update\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nTriggers remote task sync through transport layer when updated.\n\n</td></tr><tr><td>\n\nTrigger SBScratchpad Transport\n\n</td><td>\n\n\\[sn\\_sb\\_scratchpad\\]\n\n</td><td>\n\nTriggers scratchpad sync through transport layer.\n\n</td></tr><tr><td>\n\nTrigger settings transport\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_service\\_bridge\\_settings\\]\n\n</td><td>\n\nTriggers settings record sync through transport layer.\n\n</td></tr><tr><td>\n\nUpdate entitlement status on delete\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_service\\_bridge\\_settings\\]\n\n</td><td>\n\nUpdates entitlement status when deleted.\n\n</td></tr><tr><td>\n\nUpdate entitlement status on delete\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_persona\\]\n\n</td><td>\n\nUpdates persona record on entitlement when deleted.\n\n</td></tr><tr><td>\n\nUpdate entitlement status on delete\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\_def\\]\n\n</td><td>\n\nUpdates Remote Task Definition record on entitlement when deleted.\n\n</td></tr><tr><td>\n\nUpdate entitlement status on update\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_persona\\]\n\n</td><td>\n\nManages persona record on entitlement when updated.\n\n</td></tr><tr><td>\n\nUpdate entitlement status on update\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_task\\_def\\]\n\n</td><td>\n\nManages Remote Task Definition record on entitlement when updated.\n\n</td></tr><tr><td>\n\nUpdate entitlement status on update\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_record\\_producer\\]\n\n</td><td>\n\nManages Remote Record Producer record on entitlement when updated.\n\n</td></tr><tr><td>\n\nValidate activation and complete setup\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_record\\_producer\\]\n\n</td><td>\n\nValidates Remote Record Producer before activation.\n\n</td></tr><tr><td>\n\nValidate request on customer\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nChecks for valid connection on Provider Task.\n\n</td></tr><tr><td>\n\nWarn if Global Script Include is missing\n\n</td><td>\n\n\\[sn\\_sb\\_con\\_remote\\_record\\_producer\\]\n\n</td><td>\n\nDisplays warning if global script include is not present when processing Remote Record Producer.\n\n</td></tr></tbody>\n</table>## Tables installed\n\n<table id=\"table_ttz_z2q_gzb\"><thead><tr><th>\n\nTable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nAuthorized user \\[sn\\_sb\\_con\\_authorized\\_user\\]\n\n</td><td>\n\nAuthorized users.\n\n</td></tr><tr><td>\n\nConnection \\[sn\\_sb\\_con\\_consumer\\]\n\n</td><td>\n\nConsumer side connection record.\n\n</td></tr><tr><td>\n\nEntitlement \\[sn\\_sb\\_con\\_entitlement\\]\n\n</td><td>\n\nConsumer side table extending entitlements.\n\n</td></tr><tr><td>\n\nInbound Field \\[sn\\_sb\\_con\\_inbound\\_field\\]\n\n</td><td>\n\nConsumer side inbound fields for Remote Task Definitions.\n\n</td></tr><tr><td>\n\nOutbound Field \\[sn\\_sb\\_con\\_outbound\\_field\\]\n\n</td><td>\n\nConsumer side outbound fields for Remote Task Definitions.\n\n</td></tr><tr><td>\n\nPersonas \\[sn\\_sb\\_con\\_persona\\]\n\n</td><td>\n\nConsumer side persona records.\n\n</td></tr><tr><td>\n\nProvider Connection \\[sn\\_sb\\_con\\_provider\\_connection\\]\n\n</td><td>\n\nProvider Connection record linking consumer to provider instance, extending base connection table.\n\n</td></tr><tr><td>\n\nProvider Task \\[sn\\_sb\\_con\\_provider\\_task\\]\n\n</td><td>\n\nConsumer side provider task records, extends Provider Task base table.\n\n</td></tr><tr><td>\n\nRemote Choice Cache \\[sn\\_sb\\_con\\_remote\\_choice\\_cache\\]\n\n</td><td>\n\nConsumer side cache for remote choice queries.\n\n</td></tr><tr><td>\n\nRemote Record Producer \\[sn\\_sb\\_con\\_remote\\_record\\_producer\\]\n\n</td><td>\n\nConsumer side Remote Record Producer records.\n\n</td></tr><tr><td>\n\nRemote Task \\[sn\\_sb\\_con\\_remote\\_task\\]\n\n</td><td>\n\nConsumer side remote task records, extends remote task base table.\n\n</td></tr><tr><td>\n\nRemote Task Definition \\[sn\\_sb\\_con\\_remote\\_task\\_def\\]\n\n</td><td>\n\nConsumer side Remote Task Definition records.\n\n</td></tr><tr><td>\n\nRemote Task Variable\\[sn\\_sb\\_con\\_remote\\_task\\_variable\\]\n\n</td><td>\n\nRemote Task associated variable table extending glide vars.\n\n</td></tr><tr><td>\n\nService Exchange Settings \\[sn\\_sb\\_con\\_service\\_bridge\\_settings\\]\n\n</td><td>\n\nConsumer side Service Exchange setting records, extends settings base table.\n\n</td></tr><tr><td>\n\nRemote Choice \\[sn\\_sb\\_con\\_st\\_remote\\_choice\\]\n\n</td><td>\n\nConsumer side remote choice records.\n\n</td></tr><tr><td>\n\nTransform \\[sn\\_sb\\_con\\_transform\\]\n\n</td><td>\n\nConsumer side transform records, extends transform base table.\n\n</td></tr></tbody>\n</table>## Flows installed\n\nThe following flows are installed with the Service Exchange for Consumers application.\n\n<table id=\"table_qwz_zkc_kmb\"><thead><tr><th>\n\nFlow\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nProcess Remote Record Producer Entitlements with Remote Choice Variables\\[process\\_remote\\_record\\_producer\\_entitlements\\_with\\_remote\\_choice\\_variables\\]\n\n</td><td>\n\nProcesses entitlements for remote record producers on consumer with remote choice variables included.\n\n</td></tr></tbody>\n</table>## Subflows installed\n\nThe following subflows are installed with the Service Exchange for Consumers application.\n\n<table id=\"table_ud5_pht_fzb\"><thead><tr><th>\n\nSubflow\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nRepair RPS Provider Connection Error \\[repair\\_rps\\_provider\\_connection\\_error\\]\n\n</td><td>\n\nHandles provider connection errors with Remote Process Sync when in error state.\n\n</td></tr></tbody>\n</table>## Flow actions installed\n\nThe following flow actions are installed with the Service Exchange for Consumers application.\n\n|Action|Description|\n|------|-----------|\n|Create Parent From Remote Task \\[create\\_parent\\_from\\_remote\\_task\\]|Creates a parent record for a synced remote task.|\n|Create Record Producer and Remote Choice Dependent Variables \\[create\\_record\\_producer\\_and\\_entities\\]|Creates a remote record producer and the associated remote choice dependent variables from a synced entitlement.|\n|Create Remote Task \\[create\\_remote\\_task\\]|Creates a remote task for a given parent and remote task definition.|\n|Repair RPS Provider Connection \\[repair\\_rps\\_provider\\_connection\\]|Attempts to fix Remote Process Sync errors on Provider Connection.|\n\n"}}