Skip to content

Commit

Permalink
update workflow request defualt valdiation value
Browse files Browse the repository at this point in the history
Signed-off-by: Jackie Han <[email protected]>
  • Loading branch information
jackiehanyang committed Dec 22, 2023
1 parent 20893c0 commit 0028ac8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class WorkflowRequest extends ActionRequest {
* @param template the use case template which describes the workflow
*/
public WorkflowRequest(@Nullable String workflowId, @Nullable Template template) {
this(workflowId, template, null, false, null, null);
this(workflowId, template, new String[] { "all" }, false, null, null);
}

/**
Expand All @@ -75,7 +75,7 @@ public WorkflowRequest(
@Nullable TimeValue requestTimeout,
@Nullable Integer maxWorkflows
) {
this(workflowId, template, null, false, requestTimeout, maxWorkflows);
this(workflowId, template, new String[] { "all" }, false, requestTimeout, maxWorkflows);
}

/**
Expand Down

0 comments on commit 0028ac8

Please sign in to comment.