Adapter for Salesforce 8.2 | webMethods Adapter for Salesforce Documentation | webMethods Adapter for Salesforce Installation and User’s Documentation | Adapter Polling Notifications | Configuring Adapter Polling Notifications | Creating an Upsert Polling Notification
 
Creating an Upsert Polling Notification
An Upsert Notification publishes an output document containing the IDs of the updated sObjects for the given time interval.
*To configure an Upsert polling notification
1. Review the steps in Before Configuring Adapter Polling Notifications.
2. Start Designer.
3. Right-click the package in which the notification should be contained and select New > Adapter Notification.
4. Select the parent namespace, type a name for the adapter notification, and click Next.
5. Select Adapter for Salesforce as the adapter type and click Next.
6. Select Upsert Notification as the Template Name and click Next.
7. Select the appropriate Adapter Connection Name and click Next. This specifies the connection that the notification will use to connect to the Salesforce.com resource.
8. The name of the publishable document associated with this notification displays. Click Finish.
9. The editor for the adapter notification appears. The tabs that appear on the editor are explained below:
*Upsert Polling: This tab enables you to configure the notification. There are two fields on this tab.
*DayCount: The notification uses the value in this field to calculate the initial start date when the notification runs. The value must be between 1 and 30 days.
*Salesforce object: This field identifies the object type for which the create or update notification is required. When the notification is created, Upsert notification does the validation check to ensure that the sObject is replicable.
*Adapter Settings: Select this tab to confirm adapter service properties such as the Adapter Name, Adapter Connection Name, and Adapter Notification Template, as necessary.
*Output Fields: This tab displays the output that will be used by ART for creating the document to be published.
*id[ ]: Array of IDs of each object that has been updated.
*latestDateCovered: The timestamp of the process when the records are fetched from Salesforce within the range startdate and enddate.
*Permissions: This tab is provided by ART and contains user-specified permissions for notifications. For information about using the Permissions tab to assign an access control list (ACL) to an element, see the webMethods Service Development Help for your release.
Make the appropriate selections on these tabs for your notification.
10. From the File menu, select Save to save your settings.
11. After you create a polling notification using Designer, you must open that notification in Integration Server Administrator to schedule and enable it. See Managing Polling Notifications for information about scheduling and enabling a polling notification.