Skip to main content
Known Participant
February 23, 2024
Question

Calling an integration when there is a process error

  • February 23, 2024
  • 7 replies
  • 0 views

Instead of sending out an email using the process model "Alert" setting, I am trying to integrate with Pager Duty API. Is there any way we can call an integration object (to integrate with Pager Duty) so that we publish an event to Pager Duty instead of sending out an email? Right now the email is been sent out and it integrates with pager duty in that fashion but our preference is to skip sending email all together.

7 replies

davidj137213
Brainy
February 23, 2024

Is Pager Duty able to publish a web service that you cant invoke from your model?

Known Participant
February 23, 2024

Pager Duty has an API we can execute but problem is: at what point do we execute? Ideally we do it using the "Alerts" configuration instead of having to do something custom such as creating a timer to check if process model failed after x amount of minutes, and, if so, execute API. Do you see what I mean?

davidj137213
Brainy
February 23, 2024

Maybe putting a timeout in your pmo, that is triggered after x sseconds? If the integration is stuck because of an error, it will be executed and the request to Pager Duty will be made...

stefanhelzle0001
February 23, 2024

Instead of trying to reinvent the wheel, I strongly suggest to just send alert emails to Page Duty.

community.pagerduty.com/.../2118

Known Participant
February 23, 2024

Our organization would prefer not to send out emails and for emails to be last resort. Trying to see if there are alternatives.

stefanhelzle0001
February 23, 2024

That is what Appian supports out of the box. Anything else will be additional effort for each and every process model ever being built.

You could also stream log files: docs.appian.com/.../Log_Streaming_for_Appian_Cloud.html