Menu

Itop 2.7.2-1-6483 (no email notification at new Ticket - "No recipient")

Pavel
2020-12-14
2021-01-20
  • Pavel

    Pavel - 2020-12-14

    Hello,
    help me figure out where i made a mistake with the setup.
    I installed Itop 2.7.2-1-6483 on my own server, set up SMTP (google), test messages on email.test.php work, I get messages without problem. I want to notify the user who leaves a request for Helpdesk by mail, it seems to be nothing complicated, it could be done just in a few clicks in the GLPI, but in this situation I cannot cope with this task for several days.
    I will describe the problem in a few words

    1. create a person
    2. create a user account
    3. create a trigger
    4. create a action
    5. User create a tiket on portal, but notification not working, i get "No recipient" in notification status

    For example, to send a notification to the person who is the “caller” of a ticket, the To field will contain: SELECT Person WHERE id= :this->caller_id

     

    Last edit: Pavel 2020-12-14
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2020-12-14

    Seems like you want to send an email to the agent (not the caller)? Is the agent already assigned at that point? If not, it explains why there's no recipient: there is no agent yet.

     
    • Pavel

      Pavel - 2020-12-14

      Thank you for the reply!
      Sorry for my English, i try to explain.
      I have a couple of clients (Firms) whose users I would like to give the opportunity to leave requests through the portal. Naturally, the user must receive an email confirming that the request has been received and processed.
      I understand now, that my users haven't got agent_id and these query

      SELECT Person WHERE id = :this->agent_id

      not working in my case. I'm confused
      I understand, that the query must be like a

      SELECT Person WHERE id = :this-> $usermail

      i am righ?

       
      • Jeffrey Bostoen

        Jeffrey Bostoen - 2020-12-14

        Try

        SELECT Person WHERE id = :this->caller_id

         
  • Gregory

    Gregory - 2021-01-20

    I've not similar but weird issue, below query works in Run Queries but not for Action in trigger as action:
    SELECT Person AS p
    JOIN UserRequest AS u ON u.caller_id = p.id
    WHERE u.id = :this->caller_id

    Should notify User request owner when status of User Request has been changed.

     
  • Vincent @ Combodo

    SELECT Person AS p
    JOIN UserRequest AS u ON u.caller_id = p.id
    WHERE u.id = :this->id

    Will work better...

     
    👍
    1
  • Gregory

    Gregory - 2021-01-20

    Yes, works, thanks,
    One but, if Trigger status is "Being tested" got TEST () - Errors: Some recipients were invalid.
    If "In production" all is good.

     

Log in to post a comment.

MongoDB Logo MongoDB