Created
December 10, 2021 04:00
-
-
Save dcinzona/921f52b821436903c6e08f1c05c684dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- plugin: snowfakery.standard_plugins.Salesforce.SOQLDataset | |
- plugin: snowfakery.standard_plugins.Salesforce.SalesforceQuery | |
- macro: account | |
fields: | |
__user: | |
SOQLDataset.shuffle: | |
#SalesforceQuery.random_record: | |
fields: Id, LastName | |
from: User | |
where: IsActive = true | |
OwnerId: ${{__user.Id}} | |
Name: ${{__user.LastName}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- plugin: snowfakery.standard_plugins.Salesforce.SOQLDataset | |
- plugin: snowfakery.standard_plugins.Salesforce.SalesforceQuery | |
- include_file: account.macro.yml | |
- object: Account | |
include: account | |
fields: | |
__user: | |
SOQLDataset.shuffle: | |
#SalesforceQuery.random_record: | |
fields: Id | |
from: User | |
where: IsActive = true LIMIT 10 | |
OwnerId: ${{__user.Id}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment