Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can i send automatic mail based on data selection

Hi all,

I need to apply the below logic in the uploaded sample QV.

Based on the column (Remaining time) , if it is less than 2(hr) automatic mail needs to be sent to the team (Group) with the subject as ticket number(Case Id) .

The above logic will be checked based on on open or reload of the application. Please suggest your idea. 

CASE IDRemaining_TimeGroup
IM7404101Test A
IM7415502Test A
IM7415564Test C
IM7416444Test A
1 Solution

Accepted Solutions
p_verkooijen
Partner - Specialist
Partner - Specialist

I see you tried using Alerts, however you need to use AGGR to determine which CASE's are due.

See attachment

View solution in original post

5 Replies
p_verkooijen
Partner - Specialist
Partner - Specialist

I see you tried using Alerts, however you need to use AGGR to determine which CASE's are due.

See attachment

Not applicable
Author

Hi Paul,

Thanks a lot for the logic that you have used. It is exactly the same that i wished as, can you please help me out in one more logic in the application ,

How can i set the mail recipients automatically based on satisfying the above conditions. So that in mail recipient (alert) field it is not necessary to enter all the mail ids.

IM7430872Test Aabcd@gmail.com
IM7430971Test Dabcd@hotmail.com
IM7431631Test Dabcd@hotmail.com
IM7432932Test Dabcd@hotmail.com
IM7432971Test Dabcd@hotmail.com
IM7432981Test Dabcd@hotmail.com
IM7432991Test Dabcd@hotmail.com
IM7433001Test Dabcd@hotmail.com
IM7433011Test Dabcd@hotmail.com
IM7433021Test Dabcd@hotmail.com
IM7433751Test Dabcd@hotmail.com
IM7433761Test Dabcd@hotmail.com
p_verkooijen
Partner - Specialist
Partner - Specialist

You need to create separate alerts, then use Set Analysis to create an alert for Group TestA and Group TestB

{<Group={'Test A'}>}

DavidFoster1
Specialist
Specialist

I know you have a solution to your question, but I would recommend that you look at third party reporting options like NPrinting for this kind of work instead of using alerts. Alerts require the document to be open in desktop or in IE client, which is a 'stop gap' type of approach.. Whereas something like NPrinting can be set to run on a formal scheduled batch process.

You also can have greater flexibility about the information contained in the emails if you dont rely on Alerts' limited options.

Not applicable
Author

Hi Paul,

Should i apply the set analysis in the mail recipients alert. Can you pls give a example.