@InterceptorBinding @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface CompleteTask
BusinessProcess.completeTask().
 
 
 Example: after this method returns, the current task is completed 
 
 @CompleteTask 
 public void respond(String response, Message message) {
  message.setResponse(response);
 } 
 
 If the annotated method throws an exception, the task is not completed.BusinessProcess.startTask(String), 
BusinessProcess.completeTask()| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | endConversationSpecifies whether the current conversation should be ended. | 
Copyright © 2018. All rights reserved.