You need to sign in to do that
Don't have an account?
sachin kadam
Send email when Queue reaches certain records
Hello
I want to send an email (probability with workflow) when more than 5 cases are assigned to a Queue,
how do we do this?
Fyi i dont want to create a trigger.
I want to send an email (probability with workflow) when more than 5 cases are assigned to a Queue,
how do we do this?
Fyi i dont want to create a trigger.
Unfortunately this is beyond the power of workflow. You will need to use it's bigger brother, Process Builder. I believe that this can be done using Process Builder and Visual Workflow, but I have a question for you: Do you want this to fire for only the sixth case that is assigned to a queue, or do you want this to fire for every case past the fifth one (i.e. it fires for the 6th, 7th, 8th, etc.)? If you want it to fire for every case past five, then this should be somewhat simple. If you want it to only fire for the 6th case, then this will probably require Apex (which I am not able to code).
Regards,
Parker
thanks for respondiong i need this to be fired if the queue has 5 cases assigned to it and keep sening the email for every additional cases beeing assigned to it where the count of cases is more than 5, (i.e. ifires for the 5th, 6th, 7th, 8th, etc.) if the count gose less than 5 we dont send email.
I have just the solution that you need then. If you need any screenshots let me know and I'll get some for you.
First of all, we need to create a process.
- From Setup (Classic view), type "Builder" in the quick find box and click Process Builder.
- Create a new process and give it a name and a description.
- Click "+ Add Object" and select the Case Object.
- Set it to fire only on Create (If you expect cases to switch ownership from one queue to another, let me know and I'll give revised instructions for this.)
- Leave the Advanced settings as-is
- Create the first (and only) criteria node, give it a name and set the criteria for:
- OwnerId IsBlank Boolean false
- OwnerId starts with Id 00G
- Create an Immediate action and select type "Flows"
We haven't built the flow yet, so click the "build one" link that you see on the action page. It will direct you to the flow landing page. Click "New".Now we're going to configure the email element. You have two choices, use an email alert, or use the Send Email element. After you're done, connect the decision element to the send email element and select "More than 5 Cases" as the Outcome
If you decide to use the "Send Email" element, you'll need to create a Text Template within the flow. To do this, go to the Resources tab in the sidebar and double-click Text Template. Give it a name, and type up the email. Let me know what you would like the email to say and I can help you get any values that you want for it.
Once you have finished, save the flow, close it, and activate it. Return to Process Builder and refresh the page. Set up the Immediate action for "Flows", name it, and choose the flow you just created. Next, configure the inputs. In this example, we've only set the QueueId field as input. Map it to the OwnerId, save the action, and activate the Process.
Please let me know if you have questions, and I'll try to address them as soon as possible.
Regards,
Parker