Salesforce Fact #936 | USING SCOPE delegated in SOQL

There is a SCOPE named 'delegated' in SOQL. It returns the records which have been delegated to some other user.

For example, the below queries return the tasks or events which are assigned to different user after the initial assignment.

Select Id FROM Task USING SCOPE delegated

Select Id FROM Event USING SCOPE delegated

Note: the queries return data in context of the previous user.

Comments

Popular posts from this blog