# Horde: how to trigger a step or a job when its dependency failed 

**URL:** <https://forums.unrealengine.com/t/horde-how-to-trigger-a-step-or-a-job-when-its-dependency-failed/2721121>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [April 9, 2026, 2:43pm UTC](https://forums.unrealengine.com/t/horde-how-to-trigger-a-step-or-a-job-when-its-dependency-failed/2721121 "2026-04-09T14:43:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [April 9, 2026, 2:43pm UTC](https://forums.unrealengine.com/t/horde-how-to-trigger-a-step-or-a-job-when-its-dependency-failed/2721121/1 "2026-04-09T14:43:50Z")

</div>

Hello

Here is what I’m trying to do with Horde/buildgraph:

1. job A is triggered every hour (scheduled in \*.stream.json)
2. job B is automatically triggered when job A is finished even if it fails
3. job B must know the jobId of jobA

What is the best way to do that?

I’ve looked at “chainedJobs” but it works only in case of success of the parent (if I’m correct).

I could add a step into the buildgraph launching jobA but I didn’t find the proper way to do it (i.e. a step that would be executed even if previous steps failed).

Thank you

Mathieu

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [April 9, 2026, 2:43pm UTC](https://forums.unrealengine.com/t/horde-how-to-trigger-a-step-or-a-job-when-its-dependency-failed/2721121/2 "2026-04-09T14:43:54Z")

</div>

**Steps to Reproduce**

---

<div class="post-metadata">

**Author:** ![M\_Reynolds\_Work](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@M\_Reynolds\_Work](https://forums.unrealengine.com/u/M_Reynolds_Work)\
**Post date:** [April 10, 2026, 2:54pm UTC](https://forums.unrealengine.com/t/horde-how-to-trigger-a-step-or-a-job-when-its-dependency-failed/2721121/3 "2026-04-10T14:54:54Z")

</div>

Hello Mathieu, in 5.8 (also available now if you are building from source from ue5 main on GitHub) is a new build graph attribute called OptionalRequires, which allows a step to continue execution if its dependent step failed.

Matthew

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [April 10, 2026, 2:59pm UTC](https://forums.unrealengine.com/t/horde-how-to-trigger-a-step-or-a-job-when-its-dependency-failed/2721121/4 "2026-04-10T14:59:02Z")

</div>

Ok I’ll try to find a workaround until 5.8 is released 🙂

Thank you!

Mathieu
