tiagosiebler / Jarvis

Jarvis the Slack assistant, connecting our systems.
2 stars 4 forks source link

Revise error when slack or SF user could not be found during SF sync #96

Open tiagosiebler opened 4 years ago

tiagosiebler commented 4 years ago

https://github.com/tiagosiebler/Jarvis/blob/9ce9be0e4898dd67a7402d60035e7bdfc546e103/submodules/sfLib/caseSync/handleCaseSyncThreadCreate.js#L20

Current message:

Error reading slack user when trying to create serviceCloud post. Refusing to continue

One scenario was that the slack user had a typo in the email address, so no SF user was found with that email as the primary key. Recommend revising to:

Error reading slack user when trying to create serviceCloud post. Verify the email address in your slack profile matches the email shown in your salesforce user profile.