- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2024 04:12 AM
Hello All,
Need help I have created flow for Microsoft Teams Graph Spoke in message activity i want to send message like below mentioned;
Number : INC********;
Caller : Caller Name;
Short Description : Test Teams link;
Assignment Group : TeamsTestGroup;
Assigned To : Assigned To Name;
Link To Incident In ServiceNow :
INC******
But in the chat it is going in single line.
PS: I have used '\n' in message script too. for reference please check screen shot.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2024 05:09 AM
I tried reproducing it on my PDI. I am able to get the details in new line. Refer below snips :
var incidentNumber = fd_data.trigger.current.number;
var html = '<html><p>Hi Team <br> Below are the details: <br>Incident Number:'+incidentNumber+'<br></p></html>';
return html;
Output -
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2024 04:26 AM
Hi @Abhijit Somavan ,
Could you please share your script where you have done your mapping?
Regards
Moin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2024 04:44 AM
Hi @Moin Kazi
Please find below attachement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2024 04:49 AM
could you please try to return like this -
var result = num + "\n" + caller + "\n" + shortDesc + "\n" + assignedTo + "\n" + assignmentGrp + "\n" + link + "\n" + note;
return result;
Hope this should work for you.
Regards
Moin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 12:03 AM