Skip to content

Commit 100e8b4

Browse files
committed
updating README
Signed-off-by: salaboy <[email protected]>
1 parent e367aac commit 100e8b4

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

spring-boot-examples/workflows/README.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -431,29 +431,7 @@ io.dapr.workflows.WorkflowContext : Waiting for approval...
431431

432432
You should see the Workflow ID that was created, in this example you don't need to remember this id,
433433
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:
435434

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:
457435

458436
<!-- STEP
459437
name: Suspend Workflow Operation
@@ -467,14 +445,15 @@ timeout_seconds: 10
467445
-->
468446
<!-- Timeout for above service must be more than sleep + timeout for the client-->
469447

470-
To send the event you can run:
448+
Let's suspend the workflow instance by sending the following request:
471449

472450
```sh
473451
curl -X POST "localhost:8080/wfp/suspendresume-suspend?orderId=123" -H 'Content-Type: application/json'
474452
```
475453

476454
<!-- END_STEP -->
477455

456+
478457
You should see the output of the requests:
479458

480459
```sh

0 commit comments

Comments
 (0)