Forum Discussion
ludodepaz
3 months agoContributor
Hi, you can write a Parser Rule, it will run when you Import data. You create your rule and you call it in the Data Source like this:
- ST13 months agoNew Contributor III
Thanks! I will try it. Is there a way that we can also write error email function in parser rule or call an extender rule from parser rule? I need to send an error email if source condition does not satisfy. Would really appreciate your help
- ludodepaz3 months agoContributor
Yes, you can send an email. I see 2 options
- if you execute the Import from a DM job and you're on V8.2 or later, you can send an email from the Data Management Sequence.
- There is another option, which is very slick I believe, you can log the errors in a file and then send the file by email and with a little bit of code (like add a boolean with 'has Errors'), you can send the email only if there is an error and send the details.
I posted a blog on how to log with a file and send the file via email, I hope it helps!
Log like a champ with OneStream - OneStream Community (onestreamsoftware.com)
Related Content
- 2 months ago
- 2 years ago
- 10 months ago
- 4 months ago
- 2 years ago