-
Bug
-
Resolution: Not a Bug
-
Critical
-
None
-
fuse-7.x-GA
-
%
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)