File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed
spring-boot-examples/workflows Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -431,29 +431,7 @@ io.dapr.workflows.WorkflowContext : Waiting for approval...
431
431
432
432
You should see the Workflow ID that was created, in this example you don't need to remember this id,
433
433
as you can use the orderId to find the right instance.
434
- When you are ready to approve the order you can send the following request:
435
434
436
- <!-- STEP
437
- name: Suspend Workflow Operation
438
- match_order: none
439
- output_match_mode: substring
440
- expected_stdout_lines:
441
- - 'SUSPENDED'
442
- background: true
443
- sleep: 5
444
- timeout_seconds: 10
445
- -->
446
- <!-- Timeout for above service must be more than sleep + timeout for the client-->
447
-
448
- To send the event you can run:
449
-
450
- ``` sh
451
- curl -X POST " localhost:8080/wfp/suspendresume-suspend?orderId=123" -H ' Content-Type: application/json'
452
- ```
453
-
454
- <!-- END_STEP -->
455
-
456
- Let's suspend the workflow instance by sending the following request:
457
435
458
436
<!-- STEP
459
437
name: Suspend Workflow Operation
@@ -467,14 +445,15 @@ timeout_seconds: 10
467
445
-->
468
446
<!-- Timeout for above service must be more than sleep + timeout for the client-->
469
447
470
- To send the event you can run :
448
+ Let's suspend the workflow instance by sending the following request :
471
449
472
450
``` sh
473
451
curl -X POST " localhost:8080/wfp/suspendresume-suspend?orderId=123" -H ' Content-Type: application/json'
474
452
```
475
453
476
454
<!-- END_STEP -->
477
455
456
+
478
457
You should see the output of the requests:
479
458
480
459
``` sh
You can’t perform that action at this time.
0 commit comments