You need to sign in to do that
Don't have an account?
sssssssssssssssssssssss s
Check if a case is manually created, or email-to-case/web-to-case, or dataloader created
Hi Team,
I want to check if a case is manually created, or email-to-case/web-to-case, or dataloader created.
I am plannning to use process builder and LastModifiedBy.Alias = 'autocase' for email-to-case and web-to-case. Will this work fine?
What should I use for data loader created cases?
I want to check if a case is manually created, or email-to-case/web-to-case, or dataloader created.
I am plannning to use process builder and LastModifiedBy.Alias = 'autocase' for email-to-case and web-to-case. Will this work fine?
What should I use for data loader created cases?
There is a field "Case Origin" which you can set when doing the Case Routing setup for Email-to-Case.
Web to Case has a similar setting.
Default Case Origin : Web
Next question would be who is using Dataloader?
If its just Admins, then add "Dataloader" to the picklist for Case Origin field and set it during the upload.
If others use dataloader and you can't be confident they will set the field correctly, you could play with a trigger on Case which uses the
System.isBatch() to detect the bulk upload and set the Case Origin field accordingly.
That way you can check the single field for the various options. If you are worried about it being changed, remove it from the page layouts. You could use default settings to set it to a given value for internally created cases.
HTH
Andrew
Also, if a user edits the email-to-case record, i am not worried because process builder would have taken care of what was expected at the time of case creation.
How do I filter out the manually created cases/dataloader from triggering process builder functionality?
In process builder I am able to filter out LastModifiedBy.Alias = 'autocase'.
Is this a robust way to handle both email-to=case & web-to-case?
Correct me if wrong.
Any sugesstions?