I press Run
Auslöser
manual-runStarts when you press Run and choose the files.
Auf einen Blick
| Eigenschaft | Wert |
|---|---|
| Trigger name | manual-run |
| Resource | ClusterTrigger (lumen.ai/v1alpha1) |
| Source | manual |
| Needs a connection | no |
| Produces | file |
| Emits | item |
| Installation must provide | nothing |
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
Keine benannten Ausgaben: Dieser Auslöser gibt seinem ersten Knoten nur die Dokumente weiter.
Im Flow verwenden
flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: manual-run-example
namespace: tenant-acme
spec:
displayName: "I press Run"
triggers:
- id: start
ref: {name: manual-run}
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
War diese Seite hilfreich?