Zum Hauptinhalt springen

A problem is reported

Auslöserbug-report

Starts when someone reports a problem from the app. Only Lumen's own report flow uses it.

Auf einen Blick​

EigenschaftWert
Trigger namebug-report
ResourceClusterTrigger (lumen.ai/v1alpha1)
Sourceevent
Needs a connectionno
Producestext, fields, file
Emitsitem
Installation must providenothing

The trigger goes under spec.triggers of a Flow. Its outputs are referenced as <triggerId>.<field>. A trigger can also carry a when condition ("Start only when") and disabled: true.

Ausgaben​

Ein späterer Knoten verweist auf eine Ausgabe als {nodeId.field} in einem Text oder als nodeId.field in einer Bedingung.

AusgabeTyp
reportIdstring
descriptionstring
reporterstring
reporterEmailstring
reporterNamestring
contextobject

Im Flow verwenden​

flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: bug-report-example
namespace: tenant-acme
spec:
displayName: "A problem is reported"
triggers:
- id: start
ref: {name: bug-report}
next: [notify-in-app]
nodes:
- id: notify-in-app
stepRef: {name: notify-in-app}
config:
body: 'Total: {total}'
title: New invoice from {supplier}
to: admins