github.com/oam-dev/kubevela@v1.9.11/references/docgen/def-doc/workflowstep/suspend.eg.md (about)

     1  The `duration` parameter is supported in KubeVela v1.4 or higher.
     2  
     3  ```yaml
     4  apiVersion: core.oam.dev/v1beta1
     5  kind: Application
     6  metadata:
     7    name: first-vela-workflow
     8    namespace: default
     9  spec:
    10    components:
    11    - name: express-server
    12      type: webservice
    13      properties:
    14        image: oamdev/hello-world
    15        port: 8000
    16    workflow:
    17      steps:
    18        - name: slack-message
    19          type: notification
    20          properties:
    21            slack:
    22              url:
    23                value: <your-slack-url>
    24              # the Slack webhook address, please refer to: https://api.slack.com/messaging/webhooks
    25              message:
    26                text: Ready to apply the application, ask the administrator to approve and resume the workflow.
    27        - name: manual-approval
    28          type: suspend
    29          # properties:
    30          #   duration: "30s"
    31        - name: express-server
    32          type: apply-component
    33          properties:
    34            component: express-server
    35  ```