This will trigger the workflow with some input data and print everything to the
console.
There are two prompts at runtime:
Should we approve or reject the change? Approve by default.
After how long should the response be sent? 15 seconds by default.
Flow
flowchart TD
Start --> B{ Branch }
B --> C[Notify reviewer]
C --> D{ Decision }
REMIND2 --> |Change auto-applied| F
D --> |Change accepted| F[Apply changes]
F --> G[Notify of result]
G --> END
D --> |Change rejected| G
B --> REMIND1((30 seconds passed)) --> C
B --> REMIND2((1 minute passed))