Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12592

Slack username is empty

    XMLWordPrintable

Details

    • % %

    Description

      I have an integration that consumes the messages from the slack and , via the data mapper, maps the username and text value to the SQL query. (`insert into CONTACT values (:#AUTOR , 'Surname', :#COMPANY , 'some lead', '1999-01-01')`)

      When I send a message to the chat, the integration is invoked and performs and SQL query. However, only text is saved and the username is empty:

      sampledb=# select * from sampledb.contact;
       first_name | last_name |      company      | lead_source | create_date
      ------------+-----------+-------------------+-------------+-------------
                  | Surname     | Red Hat testSlack | some lead   | 1999-01-01
      

      I have updated the integration to the attachments. (without credentials, so you have to edit it and use your slack credentials)

      Attachments

        1. slack.mp4
          1.89 MB
        2. slack-to-db-export.zip
          9 kB
        3. sqlMap.png
          sqlMap.png
          35 kB

        Activity

          People

            acosenti Andrea Cosentino
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: