User Tools

Site Tools


salesforce_queue_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

salesforce_queue_configuration [2017/12/27 17:28] (current)
paul created
Line 1: Line 1:
 +======= Queue Configuration =======
 +   
 +===== Shared Queues ​ =====
 +Shared Queue configurations are used to transfer data out of Salesforce to a named queue in the Perspectium MBS.  If a Shared Queue configuration is not specified for a Dynamic or Bulk Share, the messages are sent to the default //​psp.in.salesforce//​ queue in Perspectium MBS and routing rules are applied. ​ To create a new Shared Queue configuration:​
 +  - Click on the Queues tab
 +  - Click the //New Queue// button
 +  - Fill in the //Queue Name// (ex: psp.out.salesforce.test)
 +  - Fill in an //Alias// name for this queue if so desired (see below)
 +  - Enter the //Endpoint URL// to the Perspectium MBS (ex:​https://​yourcompany.perspectium.net)
 +  - Enter the //​Username//​ for your Perspectium MBS account
 +  - Enter the //​Password//​ for your Perspectium MBS account
 +  - Select the //​Direction//​ of Share
 +  - Save
  
 +{{:​salesforce_queue_form.jpg|}}
 +
 +<wrap info>​[[salesforce_releases|v3.26.0]]</​wrap>​\\
 +\\
 +An "​Alias"​ field has been added to the Queue configuration form for use with dynamic share Apex triggers. ​ By specifying an alias for a queue, a dynamic share trigger will be created referencing this alias instead of the queue'​s ID as is currently the case.  ​
 +
 +This will allow you to more easily move Apex Triggers from sandbox/dev to production. ​ Because Apex triggers cannot be easily modified in production (Salesforce has you create/​modify the trigger in sandbox/dev first and then move them over to production),​ you can use the Alias field so as to not have to modify the trigger after testing in sandbox/dev and before moving in production.
 +
 +For example, you can create a test queue in your sandbox with the alias "​db"​ and then create a different queue in production with the same alias "​db"​. ​ Then when you create the Apex trigger in sandbox and test to verify everything works as expected, you don't have to modify the trigger again with the production queue'​s ID since both have the same alias.
 +
 +Aliases are only relevant for dynamic shares since bulk shares are run with background jobs that do not require Apex triggers.
 +===== Subscribed Queues =====
 +Subscribe Queues configurations are used to transfer data from a named queue in the Perspectium MBS into Salesforce.
 +To create a new Subscribe Queue configuration:​
 +  - Click on the Queues tab
 +  - Click the //New Queue// button
 +  - Fill in the //Queue Name// (ex: psp.out.salesforce.test)
 +  - Enter the //Endpoint URL// to the Perspectium MBS (ex:​https://​yourcompany.perspectium.net)
 +  - Enter the //​Username//​ for your Perspectium MBS account
 +  - Enter the //​Password//​ for your Perspectium MBS account
 +  - Select the //​Direction//​ of Subscribe
 +  - Save
 +
 +{{ :​sf_subscribe_queue.png?​nolink |}}
 +
 +<WRAP round info>
 +Note: When sharing from ServiceNow to Salesforce, please use AES128 encryption since Salesforce currently does not support TripleDES encryption.
 +</​WRAP>​
salesforce_queue_configuration.txt ยท Last modified: 2017/12/27 17:28 by paul