US 11,816,090 B2
Selectively processing an event published responsive to an operation on a database record that relates to consent
Marla Hay, Portland, OR (US); Yvonne Zhou, San Francisco, CA (US); Yu Chen, Bellevue, WA (US); and Shivan Kaul Sahib, Vancouver (CA)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Jan. 30, 2020, as Appl. No. 16/777,858.
Claims priority of provisional application 62/937,105, filed on Nov. 18, 2019.
Prior Publication US 2021/0149874 A1, May 20, 2021
Int. Cl. G06F 16/23 (2019.01); G06Q 10/10 (2023.01)
CPC G06F 16/2365 (2019.01) [G06Q 10/10 (2013.01)] 22 Claims
OG exemplary drawing
 
1. A method comprising:
retrieving, from a first source of events, a first event that was published to the first source of events, wherein individual events are published to the first source of events to identify that respective records in a first database object have been updated, deleted, or inserted, wherein the first database object stores records relating to consent of a person, wherein the first event is associated with a first topic and includes first and second attributes; and
processing the first event, wherein the processing comprises, responsive to determining that a value of the first attribute of the first event indicates that a first field of a first record of the first database object stores an updated value that relates to consent:
storing, in a first attribute of an identifiable unit of data of a second event, an identifier for a second record in a second database object that stores records relating to consent, wherein the second record in the second database object relates to the first record;
storing, in a second attribute of the identifiable unit of data of the second event, the value of the second attribute of the first event as the updated value, wherein the presence of the second attribute in the identifiable unit of data of the second event indicates that the second event includes a change in a consent status of the person;
storing, in a third attribute of the identifiable unit of data of the second event based on one or more values of a plurality of attributes of the first event, one or more identifiers and one or more respective values of fields of the first record that were updated and that are different from the first field; and
publishing the second event to a second source of events.