Jump to content

Recommended Posts

Posted

Hi all,

i tried to find here a topic related to my question but was not able to.

We have a scenario where we need to open a Teams chat with more than 20 users. At the moment i am iterating a comma seperated string and adding everyone to the chat (based on how many people to add to the chat it takes up to 1 minute)

When creating a group chat a mask is opening and i have to add every user to this but i need to know before how many user i would need to add. In the documentation it tells me that an array needs to be in this field and i could create my own but there is no option for manual input and the array is predfeined in combination with the mask.

image.thumb.png.a4ecfb216b8f62a6932d6d8b5048a74e.png

Outcome: [{"userID":"user1.test@test.com"},{"userID":"user2.test@test.com"}]. I need to find a way to provide a string with all users or the option that i can provide my own array. 

image.png.246eeabc3041029d1c8f8f41b81606d2.png

Maybe i do not see it and someone could help me out here.

 

Thank you

Marc

Posted

Have you considered instead of the private chat, just having a Teams channel where all the 20+ people are already members; and you just create another conversation within it? We do this for all Changes and all Major Incidents.

image.thumb.png.87852cabd5534bcb7b4206371e3d267a.png

And you can store the messageID in a custom field and then paste it as a link to the conversation as a notice:

image.thumb.png.02336c6c2b29c525767a44ee940f1a10.png

 

Posted

Hi,

Thank you for your suggestion.

Some of our applications/services are provided by other operating companies or our holding and we sometimes need ad hoc support from them. We cannot open a Team with everyone included - this will be hard to manage. In a chat you are more flexible to add people from inside or outside of the company that they can help support. This was the reason why we have decided to use a chat instead of a team. Hope this makes sense ;)

Any answer from the Hornbill Team? Is there a way to implement an more intuitive or flexible way for it? I mean sure i have a workaorund but it takes ages and i am doing at the end more than 20 teams api requests in a minute.

Posted

We're exploring the use of Hornbill initiating Teams Group chats (and eventually channel conversations) but we've got an issue when sending a message using data from Hornbill.

If we include the request description in a message on it's own, it doesn't honour the line breaks. I have also tried the Replace string utility on the description, searching for \n and replacing with <br/> but it's not done anything and copies everything in Teams as if text has no line breaks

image.png.42322fd5c67378a6977f4a515c23cd57.png

image.png.39c154228663d4777b76356ebca0a01a.png

image.png.040fbab5252ed38dbb9a2c9163746d27.png

 

Has anyone figured out how to retain line breaks from Hornbill into Teams Group Chats / Channel Conversations?

Posted

Please ignore the above, I have raised this as a separate query - sorry about that

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...