- when: app.status.operationState != nil and app.status.operationState.phase in ['Error', 'Failed']
  description: Application syncing has failed
  send: [app-sync-failed]
  oncePer: app.status.operationState?.syncResult?.revision
