With dynamic shares, you can send records out of your ServiceNow instance as they are created, updated, and/or deleted. Dynamic shares can be configured per ServiceNow table. This setup can be used to control the format, conditions, and destination of data that will be dynamic shared out of your ServiceNow instance.
To access dynamic shares, go to Perspectium > Perspectium Core > Shares. Then, click Dynamic Share.
Create a ServiceNow dynamic share
Creating a dynamic share for a table will allow you to sync records for that table with the records in another application instance.
NOTE: Because this approach uses business rules to trigger sharing records out, if a user is updating records with setWorkflow(false) to turn off executing business rules (including async business rules), records will not be shared. In this case, consider using alternative approaches like Scheduled Sync Up, Scheduled Bulk Shares or Flow.
Prerequisites:
Instructions:
- In your ServiceNow instance, go to Perspectium > Perspectium Core > Shares.
- Select Dynamic Share.
- Select Create New Dynamic Share.
- Choose either Business Rule or Flow Designer as your share type. Learn more about share types.
NOTE: This is not editable - if you wish change the share type of this dynamic share once you save, you will have to delete the dynamic share and create a new one.
- Enter a name of your new dynamic share in the Name field.
- In the Table dropdown, find and select the table which includes the data that you want to dynamic share out of your ServiceNow instance.
- Check the Active box to activate your dynamic share.
In the Encryption Method dropdown to select a method to encrypt the data.
Cipher options include:
Encryption Method | Dynamic shared data will... |
---|
TripleDES | be encrypted with Triple DES. |
AES128 | be encrypted with AES-128. |
AES256 | be encrypted with AES-256. NOTE: To ensure AES-256 encryption for your data, you will need to create an encryption and decryption key with at least 32 characters in the PSP Properties module. |
Base64 Encode Only | have Base64 encoding only. |
Unencrypted | not be encrypted. |
Scroll to the Trigger Conditions tab and check as many of the following boxes as you wish:
Action | Record data will be shared out of your ServiceNow instance when... |
---|
Create | |
Update | |
Delete | |
Alternatively, you can use Update or Insert under Runtime Settings.
When Update or Insert is selected, Create and Update actions will be grayed out and not selectable. Furthermore, when the messages are pushed out to Perspectium Cloud Server, the name field will contain:
This will instruct the consumer or subscriber to implement an update (by sys_id) or insert action when the sys_id is not found.
- Click the Search icon next to the Target queue field and in the Queues popup, select the shared queue that you want to dynamic share your record data to.
- Click Submit to save your changes.