2

Can we integrate ServiceNow with Airflow ? I mean if there is any DAG failure, can we rerun the failed DAG/tasks by submitting a ServiceNow request ? Also can we submit an adhoc job to run using ServiceNow. Thanks in advance.

brian
  • 10,619
  • 4
  • 21
  • 79
Afz Abd
  • 423
  • 3
  • 19

1 Answers1

0

Yes, simply use the on_failure_callback parameter of the dag to call a function that makes a POST request using service now's SET API (particularly the u_incident table)