The CreatorCon Call for Content is officially open! Get started here.

How to send email after the import

MMKK
Tera Expert

Hi All,

I have read few threads but I am a bit confused. I have an email which sends notification to my instance with attachment.

I have an inbound email action that copies the attachment to my data source and trigger a workflow.

My workflow waits for 5 mins and then runs a scheduled import job.

But I would like to send a notification to few users after the completion of the scheduled import job.

My issue is I am unable to understand how do I know if my import is successful or no.

Kindly let me know.

1 ACCEPTED SOLUTION

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi,

For this, I think you would need to trigger the notification on the import set record. When an import is complete, the state is set to "processed". But there you can't see if the import has been completed with or without errors. Since you can have multiple transform maps for one import, you then will need to dig into each one of them and pull out the data if they are completed with errors or not.

Did this make it clearer for you?

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor’s Guide To ServiceNow

View solution in original post

1 REPLY 1

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi,

For this, I think you would need to trigger the notification on the import set record. When an import is complete, the state is set to "processed". But there you can't see if the import has been completed with or without errors. Since you can have multiple transform maps for one import, you then will need to dig into each one of them and pull out the data if they are completed with errors or not.

Did this make it clearer for you?

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor’s Guide To ServiceNow