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

Slack username is empty

XMLWordPrintable

    • % %

      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)

        1. slack.mp4
          1.89 MB
          Matej Kralik
        2. sqlMap.png
          35 kB
          Matej Kralik

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

                Created:
                Updated:
                Resolved: