This is an old revision of the document!
You can share records through a Conditional Share if certain trigger conditions require that the record be sent through a different table map and / or target queue. For example you may use a Conditional Share if records related to software problems require a unique table map or target queue.
|v3.20.0 (Initial Version)||Users can now create trigger conditions that change the target queue and / or table map of a shared record (Conditional Shares).|
|D Release||Conditional Shares can be run on bulk shares with an additional option to specify what domain the bulk share is run in.|
Start by going to any dynamic share form or bulk share form and look under Additional Settings to see Conditional Share checkbox.
Activating this field will remove the Table map and Target queue fields from the bulk/dynamic share form because these fields will be configured in the related list below.
Table: This is also a read-only field that is automatically populated.
Target Queue: Mandatory field that records will be sent to if they pass the trigger condition(s). For more information visit the shared queues page.
Use Table Map: Checking this field will display a Table Map field. Leaving this field unchecked will cause a record to send with native mappings.
Table Map: This field is used to map and/or transform the outbound ServiceNow field data for the record being replicated. For more information visit table maps page.
Domain (bulk share only): The domain to run the bulk share in. If left blank then the bulk share will be run in the current domain.
Condition: The customizable trigger conditions. Create conditions that the record being shared must pass. Passing the conditions will cause the record to share out to the desired queue with the specified mapping.
Note: For bulk shares, each condition will send out a separate bulk share with all records matching that condition. This means that each record can be sent multiple times if they match multiple conditions (once in each bulk share). For dynamic shares, if N conditions are met and each of them points to a different target queue, the same record will get sent out N times. In the example below, the dynamic share has two conditions with different target queues. If this record's short description contains the keyword 'Conditional', then the same record gets replicated to each queue: