Maximo Open Forum

 View Only

 E-MAIL JSON

  • Integrations
Richard Foster's profile image
Richard Foster posted 10-03-2024 17:15

I have a requirement to e-mail PRs on a daily basis once approved. I can generate a JSON file by selecting 'Publish JSON' on the Publish Channel. Using the 'XML' endpoint, this does generate a json file in my 'globaldir'. Since I don't have a way to directly send information, is there a way to e-mail this output?

Alex Walter's profile image
Alex Walter

Hey Richard,

There are a few options to automate this, but each have pros/cons:

  1. Create an Escalation. The challenge with this is you will get one email per PR as opposed to one email with a list of PRs.
  2. Create a scheduled BIRT report. The challenge with this is you will get an email every day and have to open the attachment to see if there are any PRs. Maybe this is the desired behavior, but maybe not.
  3. Create an automation script that can be run via cron task. This gives you full control over how the process works. The challenge is that it needs to be written and maintained, which again may or may not be a challenge.

Hope this helps,

Alex

Richard Foster's profile image
Richard Foster

Thanks Alex. Yes, I'm leaning towards Automation Script. That's cleaner than the BIRT report. Now I'm off to the challenge of generating an Automation Script that grabs the JSON for PRs in approved status each day. Should be fun.