Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Reportbasierte Benachrichtung ohne Inhalt

    Scheduled Pinned Locked Moved Betrieb
    1 Posts 1 Posters 131 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User
      last edited by

      Hallo zusammen,

      wir haben uns einen eigenen Report mit dem SQL-Editor gebaut, der uns eine Liste mit allen Objekten vom Typ "SIM-Karten" erstellt, deren "Bindefrist Ende" (Attribut mit Feldtyp Datum aus benutzerdefinierter Kategorie) in den nächsten 120 Tagen erreicht wird.

      Die SQL-Abfrage funktioniert und liefert das gewünschte Ergebnis:
      (auch als TXT-, CSV-, XML- und PDF-Export)

      Ergebnis Report.png

      Das Ergebnis dieses Reports versenden wir als reportbasierte Benachrichtigung.
      Diese Benachrichtigung wird mit der vorgesehenen E-Mail-Vorlage versendet.

      In der Mail werden die Objekte, die der Report als Ergebnisse liefert, nicht angezeigt, sondern lediglich die "Root location".

      E-Mail Bindefrist Ende.png

      Bei anderen Reports funktioniert die Ausgabe der Objekte über den Platzhalter %notification_templates__report% problemlos.

      Kann hier jemand weiterhelfen?


      SQL-Abfrage:

      select isys_obj__id as ID,isys_obj__title as "SIM-Karte",
        j11.isys_catg_custom_fields_list__field_content AS 'locales::fmt_date::Bindefrist Ende###4_9'
        from isys_obj 
       LEFT JOIN isys_catg_custom_fields_list AS ROOT_C__CATG__CUSTOM_FIELDS_TELEKOM_VERTRAGSDATEN ON isys_obj.isys_obj__id = ROOT_C__CATG__CUSTOM_FIELDS_TELEKOM_VERTRAGSDATEN.isys_catg_custom_fields_list__isys_obj__id
                                      AND ROOT_C__CATG__CUSTOM_FIELDS_TELEKOM_VERTRAGSDATEN.isys_catg_custom_fields_list__isysgui_catg_custom__id = (SELECT isysgui_catg_custom__id FROM isysgui_catg_custom WHERE isysgui_catg_custom__const = 'C__CATG__CUSTOM_FIELDS_TELEKOM_VERTRAGSDATEN')
                                      AND ROOT_C__CATG__CUSTOM_FIELDS_TELEKOM_VERTRAGSDATEN.isys_catg_custom_fields_list__field_type = 'commentary'  LEFT JOIN isys_catg_custom_fields_list AS j11 ON isys_obj.isys_obj__id = j11.isys_catg_custom_fields_list__isys_obj__id AND j11.isys_catg_custom_fields_list__field_key = 'c_1600779605064' 
                                      AND j11.isys_catg_custom_fields_list__data__id = ROOT_C__CATG__CUSTOM_FIELDS_TELEKOM_VERTRAGSDATEN.isys_catg_custom_fields_list__data__id  
       where isys_obj__isys_obj_type__id=69 and isys_obj__status=2
       and Now()>=DATE_SUB(j11.isys_catg_custom_fields_list__field_content, INTERVAL 120 DAY) =1
      
      

      7cd5cbff-a19f-4f6e-82fe-e7251a56e608-grafik.png

      Benachrichtigung.png

      41250979-4c94-4dfc-8278-fbfda8ab354c-grafik.png

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post