File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
spring-boot-examples/workflows/src/main/java/io/dapr/springboot/examples/wfp Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 24
24
import io .dapr .springboot .examples .wfp .fanoutin .Result ;
25
25
import io .dapr .springboot .examples .wfp .remoteendpoint .Payload ;
26
26
import io .dapr .springboot .examples .wfp .remoteendpoint .RemoteEndpointWorkflow ;
27
- <<<<<<< HEAD
28
- import io .dapr .springboot .examples .wfp .suspendresume .SuspendResumeWorkflow ;
29
- =======
30
- //import io.dapr.springboot.examples.wfp.suspendresume.SuspendResumeWorkflow;
31
27
import io .dapr .springboot .examples .wfp .timer .DurationTimerWorkflow ;
32
28
import io .dapr .springboot .examples .wfp .timer .ZonedDateTimeTimerWorkflow ;
33
-
34
- >>>>>>> 9575 b410 (adding duration and zoneddatetime examples )
35
29
import io .dapr .workflows .client .DaprWorkflowClient ;
36
30
import io .dapr .workflows .client .WorkflowInstanceStatus ;
37
31
import org .slf4j .Logger ;
@@ -163,7 +157,7 @@ public Payload remoteEndpoint(@RequestBody Payload payload)
163
157
164
158
@ PostMapping ("wfp/suspendresume" )
165
159
public String suspendResume (@ RequestParam ("orderId" ) String orderId ) {
166
- String instanceId = daprWorkflowClient .scheduleNewWorkflow (SuspendResumeWorkflow .class );
160
+ String instanceId = daprWorkflowClient .scheduleNewWorkflow (ExternalEventWorkflow .class );
167
161
logger .info ("Workflow instance " + instanceId + " started" );
168
162
ordersToApprove .put (orderId , instanceId );
169
163
return instanceId ;
You can’t perform that action at this time.
0 commit comments