Home Applications iris-teams-adapter

iris-teams-adapter

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
4.6
5 reviews
0
Awards
184
Views
9
IPM installs
0
0
Details
Releases
Reviews
Issues
Pull requests
Videos
Articles
Adapter to connect your IRIS producction with Microsoft Teams

What's new in this version

Added the following parameter in items class for image items

  • Url
  • AltText
  • Style

Fixed ports of Docker

License: MIT

iris-teams-adapter

This is a library to connect your message to Microsoft Teams.
Includes a data transformer to convert Ens.AlertRequest messages into a message structure that is captured by Teams via Webhook

The idea

Due to a need on the part of my company’s development team to be able to receive error messages from an IRIS production directly in an MS Teams group, we developed some components to be able to convert error alerts into messages that are captured by MS Teams via Webhook.

You can configure the Webhook in your MS Teams account by following the instructions on the “How to create an incoming webhook” page

Install ZPM

Use the command zpm “install iris-teams-adapter” to install direcly in your namespace

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

  • Clone/git pull the repo into any local directory
git clone https://github.com/KurroLopez/iris-teams-adapter .\iris-teams-adapter
  • Open the terminal in this directory and run:
$ docker-compose build
  • Run the IRIS container with your project:
$ docker-compose up -d

Demo

Open the production http://localhost:52773/csp/user/EnsPortal.ProductionConfig.zen

User: superuser
Pass: SYS
Namespace: USER

Configure your Webhook in St.Teams.BO.Api.Teams

Webhook link: https://YOURCOMPANY.webhook.office.com/webhookb2/40cc6704-1bc5-4f87-xxxx-xxxxxxxxf@5xxxxxa-643b-47a3-xxxxx-fc962cc7cdb2/IncomingWebhook/6f272d796f1844b8b0b57b61365f8961/2ff46079-ee4a-442b-a642-dc418f6c67ee
**Server:** YOURCOMPANY.webhook.office.com
**URL:** /webhookb2/40cc6704-1bc5-4f87-xxxx-xxxxxxxxf@5xxxxxa-643b-47a3-xxxxx-fc962cc7cdb2/IncomingWebhook/6f272d796f1844b8b0b57b61365f8961/2ff46079-ee4a-442b-a642-dc418f6c67ee

If you want to test, using the BPs in the demo production, select “Test” button and invoke testing service


Check in your teams group

For test RaiseError, select any Ens.Request, it doesn’t need any entry.


Read more
Made with
Install
zpm install iris-teams-adapter download archive
Version
1.1.014 Mar, 2024
ObjectScript quality test
Category
Frameworks
Works with
InterSystems IRISInterSystems IRIS for Health
First published
03 Mar, 2024