Flow Designer

Abhijit Somavan
Tera Contributor

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.

1 ACCEPTED SOLUTION

@Abhijit Somavan 

 

I tried reproducing it on my PDI. I am able to get the details in new line. Refer below snips :

AmitVerma_0-1728994084139.png

 

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 -

AmitVerma_1-1728994124017.png

 


Please mark this response as correct and helpful if it assisted you with your question.

View solution in original post

7 REPLIES 7

Moin Kazi
Kilo Sage
Kilo Sage

Hi @Abhijit Somavan ,

 

Could you please share your script where you have done your mapping?

 

Regards

Moin

Hi @Moin Kazi 

Please find below attachement.Message.png

Hi @Abhijit Somavan 

 

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

 

Hi @Moin Kazi 

 

It is not working for me.

Thank you for your response.