Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assignment rule on data import #23

Closed
Tracked by #5
dufoli opened this issue Mar 21, 2024 · 0 comments · Fixed by #29
Closed
Tracked by #5

assignment rule on data import #23

dufoli opened this issue Mar 21, 2024 · 0 comments · Fixed by #29
Assignees
Labels
enhancement New feature or request

Comments

@dufoli
Copy link
Owner

dufoli commented Mar 21, 2024

idea is to be able to specify assignment rule on import:
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/create_job.htm

if object type is lead or case :
SELECT Id, Name FROM AssignmentRule WHERE SobjectType = 'Lead' or 'Case'
display list + none

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_header_assignmentruleheader.htm

let soapHeader = {"AssignmentRuleHeader": {"assignmentRuleId": this.sessionId}}
else simple checkbox
let soapHeader = {"AssignmentRuleHeader": {"useDefaultRule": true}}
add to sfConn.soap(wsdl, importAction, importArgs, soapHeader)
cf
sorenkrabbe/Chrome-Salesforce-inspector#229
sorenkrabbe/Chrome-Salesforce-inspector#171

@dufoli dufoli added the enhancement New feature or request label Mar 21, 2024
@dufoli dufoli self-assigned this Mar 21, 2024
This was referenced Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant