@@ -145,8 +145,8 @@ public class DemoWorkflowClient {
145145 }
146146
147147 System . out. println(separatorStr);
148- System . out. println(" **purgeInstance **" );
149- boolean purgeResult = client. purgeInstance (instanceId);
148+ System . out. println(" **purgeWorkflow **" );
149+ boolean purgeResult = client. purgeWorkflow (instanceId);
150150 System . out. printf(" purgeResult: %s%n" , purgeResult);
151151
152152 System . out. println(separatorStr);
@@ -202,7 +202,7 @@ Started new workflow instance with random ID: 0b4cc0d5-413a-4c1c-816a-a71fa24740
202202**GetInstanceMetadata:Running Workflow**
203203Result: [Name: 'io.dapr.examples.workflows.DemoWorkflow', ID: '0b4cc0d5-413a-4c1c-816a-a71fa24740d4', RuntimeStatus: RUNNING, CreatedAt: 2023-09-13T13:02:30.547Z, LastUpdatedAt: 2023-09-13T13:02:30.699Z, Input: '"input data"', Output: '']
204204*******
205- **WaitForInstanceStart **
205+ **WaitForWorkflowStart **
206206Result: [Name: 'io.dapr.examples.workflows.DemoWorkflow', ID: '0b4cc0d5-413a-4c1c-816a-a71fa24740d4', RuntimeStatus: RUNNING, CreatedAt: 2023-09-13T13:02:30.547Z, LastUpdatedAt: 2023-09-13T13:02:30.699Z, Input: '"input data"', Output: '']
207207*******
208208**SendExternalMessage**
@@ -216,7 +216,7 @@ Event raised for workflow with instanceId: 0b4cc0d5-413a-4c1c-816a-a71fa24740d4
216216**WaitForWorkflowCompletion**
217217Result: [Name: 'io.dapr.examples.workflows.DemoWorkflow', ID: '0b4cc0d5-413a-4c1c-816a-a71fa24740d4', RuntimeStatus: FAILED, CreatedAt: 2023-09-13T13:02:30.547Z, LastUpdatedAt: 2023-09-13T13:02:55.054Z, Input: '"input data"', Output: '']
218218*******
219- **purgeInstance **
219+ **purgeWorkflow **
220220purgeResult: true
221221*******
222222**raiseEvent**
0 commit comments