diff --git a/src/main/java/io/github/cadenceoss/iwf/core/Workflow.java b/src/main/java/io/github/cadenceoss/iwf/core/Workflow.java index aaab9946..2aa55b6d 100644 --- a/src/main/java/io/github/cadenceoss/iwf/core/Workflow.java +++ b/src/main/java/io/github/cadenceoss/iwf/core/Workflow.java @@ -53,6 +53,12 @@ default List getCommunicationSchema() { return Collections.emptyList(); } + /** + * Define the workflowType of this workflow definition. By default(when return empty string), it's the simple name of the workflow instance, + * which should be the case for most scenarios. + *

+ * In case of dynamic workflow implementation, return customized values based on constructor input. + */ default String getWorkflowType() { return ""; }