How i can copy the data from html field and paste into addition comments journal field

ayan_murshad
Tera Guru

How i can copy the data from html field and paste into addition comments journal field in Incident Table

 

i want to make html field like additional comments journal field

 

ayan_murshad_0-1690964547916.png

if I write anything in html field and save form then its automatically paste into activities stream like additional comments  

@Maik Skoddow  

@Mark Roethof  

@Gaurav Shirsat

 @ghaing 

@tltoulson 

 @Ankur Bawiskar   

@Chuck Tomasi

2 ACCEPTED SOLUTIONS

Sagar Pagar
Tera Patron

Hi @ayan_murshad,

 

You can add the HTML text similar to HTML field in additional comments/ comments field.

 

You need to copy the source code form HTML field and in journal field add it in between [code]....[/code] tags.

Example:

[code]

<p>This is normal text</p>
<p><span style="color: #e03e2d;">This is just text in red color</span></p>
<p><strong>This is bold text</strong></p>

[/code]

 

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

View solution in original post

Hi @ayan_murshad,

 

Save way. As I mentioned.

 

I just tried and see the output.

Screenshot 2023-08-02 at 2.36.39 PM.png

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

View solution in original post

4 REPLIES 4

Sagar Pagar
Tera Patron

Hi @ayan_murshad,

 

You can add the HTML text similar to HTML field in additional comments/ comments field.

 

You need to copy the source code form HTML field and in journal field add it in between [code]....[/code] tags.

Example:

[code]

<p>This is normal text</p>
<p><span style="color: #e03e2d;">This is just text in red color</span></p>
<p><strong>This is bold text</strong></p>

[/code]

 

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

And How I can paste image + text In activities stream and also i want to set it to customer visible like additional comments 

Hi @ayan_murshad,

 

Save way. As I mentioned.

 

I just tried and see the output.

Screenshot 2023-08-02 at 2.36.39 PM.png

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

This is working directedly means i write html code in additional comments it's work 

but when I am trying this from business rule it's not work

 

ayan_murshad_0-1690969791821.png