I am working on a requirement to trigger a notification on workflow failure without using Error Management to notify workflow supervisor(As this is dependent on the optional parameter set by workflow owner).
The simplest approach i could think of is
Using a scheduler, check the Failed status flag in xtk:workflow schema every X hours and trigger an email.
However, i am looking at options to trigger it in real-time.
Is there any option to trigger an action or signal to a workflow based on a change in status flag(in this case, change of failed status from No to Yes).
Is this achievable through attribute definition only in schema definition of xtk:workflow.