But for some reasons i deleted the action and now I see the count. But now I am trapped into big issue and do not know how do I derive my use case.
I am trying to send an email to department managers when the tickets are overdue for my helpdesk application.
So in get items i am using a filter for due date and status which are open and in progress.
I have 10 departments in org. So when i want to check the open and in progress ticket which are overdue and send the count of overdue items to manager by email.
So I initialized 2 variables as varOpen and varProgrss.
After get item, i am using switch control for department.
On department switch action, i am using one more switch control for open and in progress, and increment ing the variable count.
Now how do I send email for departments managers ?
If i add send mail action outside switch i am not getting the correct count for specific department.
If i add with switch email are looping for each variable increment.
Please help to handle this situation.