Inbound Action - How to update SCTASK with inbound email

Community Alums
Not applicable

I have an inbound email where the ref number on the email is showing as 

Version Visit Email Address:  sctask12345678@employeeworld.com

I need to update the SCTask with the contents of the inbound email but not sure how to do this.

Can anyone help please?

Thanks

H

1 ACCEPTED SOLUTION

Hi @Community Alums 

 

In that case don't add the from section. you can create the similar which is create for incident table. 

 

AtulyaLNG_0-1699443775206.png

 

I need the inbound action to pick up the ref number from the email address Version Visit Email Address:  sctask12345678@employeeworld.com and paste it into the that ref number

So in this case the ref number is sctask12345678

 

For this You need to write script to extract the reference number by regex or other way and set the value in Ref field. Sorry  I am not coder so cant help much. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Community Alums 

 

Greetings!!

 

Need to create a new Inbound action and in that you can from field. (If it is constant for all emails)

 

AtulyaLNG_0-1699442305550.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Community Alums
Not applicable

Thank you I should have said that the email address will be different each time as this will be referring to a  different SCTASK number each time the email is received. 

I need the inbound action to pick up the ref number from the email address Version Visit Email Address:  sctask12345678@employeeworld.com and paste it into the that ref number

So in this case the ref number is sctask12345678

I hope that makes sense

Thanks 

H

Hi @Community Alums 

 

In that case don't add the from section. you can create the similar which is create for incident table. 

 

AtulyaLNG_0-1699443775206.png

 

I need the inbound action to pick up the ref number from the email address Version Visit Email Address:  sctask12345678@employeeworld.com and paste it into the that ref number

So in this case the ref number is sctask12345678

 

For this You need to write script to extract the reference number by regex or other way and set the value in Ref field. Sorry  I am not coder so cant help much. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************