US 11,916,918 B2
System mode override during flow execution
Yucheng Wang, San Carlos, CA (US); Saravanan Adaikkalavan, Fremont, CA (US); Hao Wu, Hayward, CA (US); Hugh Cockburn, Irvine, CA (US); Colin Frank, Orinda, CA (US); Kaysha Chandran, Orinda, CA (US); William Charles Eidson, Palo Alto, CA (US); and Timothy Peng, San Francisco, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by salesforce.com, inc., San Francisco, CA (US)
Filed on Apr. 14, 2020, as Appl. No. 16/848,644.
Prior Publication US 2021/0320927 A1, Oct. 14, 2021
Int. Cl. G06F 3/0482 (2013.01); H04L 9/40 (2022.01); G06F 16/23 (2019.01); H04L 67/306 (2022.01); G06F 16/25 (2019.01)
CPC H04L 63/105 (2013.01) [G06F 3/0482 (2013.01); G06F 16/2379 (2019.01); G06F 16/252 (2019.01); H04L 63/102 (2013.01); H04L 67/306 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system comprising:
a database system implemented using a server system, the database system configurable to cause:
processing a request from a first user to initiate execution of a flow including a plurality of flow elements;
initiating execution of the flow;
identifying a user-selected operation mode from a set of configurable modes including a user mode, a system mode with sharing and a system mode without sharing, the selected operation mode being the system mode without sharing which does not comply with and overrides one or more permissions of the first user in favor of escalated permissions provided during system mode without sharing;
assigning the selected operation mode to a set of computer-readable instructions corresponding to one of the flow elements, the set of computer-readable instructions including a parent flow having a hierarchical relationship with a child flow configurable to: inherit an operation mode of the parent flow when the selected operation mode is the system mode with sharing, and not inherit the operation mode of the parent flow when the selected operation mode is the system mode without sharing;
determining a level of the escalated permissions that is:
applicable to the set of computer-readable instructions, and
in compliance with permissions of one or more other users while overriding the one or more permissions of the first user;
executing the set of computer-readable instructions according to the selected operation mode such that an identity of the first user is recorded in association with an operation on a database record, wherein the one or more permissions of the first user allocated in a user profile of the first user do not provide permission to cause the operation on the database record; and
providing, for presentation via a graphical user interface (GUI), output indicating a result of executing the set of computer-readable instructions according to the selected operation mode.