-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Description
In the existing implementation I cannot see the ability to pass date/ time to schedule the workflow/ activity run as per the below code at : https://github.com/dapr/java-sdk/blob/master/sdk-workflows/src/main/java/io/dapr/workflows/client/DaprWorkflowClient.java
public String scheduleNewWorkflow(Class clazz) {
return this.innerClient.scheduleNewOrchestrationInstance(clazz.getCanonicalName());
}
/**
- Schedules a new workflow using DurableTask client.
- @param any Workflow type
- @param clazz Class extending Workflow to start an instance of.
- @param input the input to pass to the scheduled orchestration instance. Must be serializable.
- @return the randomly-generated instance ID for new Workflow instance.
*/
public String scheduleNewWorkflow(Class clazz, Object input) {
return this.innerClient.scheduleNewOrchestrationInstance(clazz.getCanonicalName(), input);
}
/**
- Schedules a new workflow using DurableTask client.
- @param any Workflow type
- @param clazz Class extending Workflow to start an instance of.
- @param input the input to pass to the scheduled orchestration instance. Must be serializable.
- @param instanceId the unique ID of the orchestration instance to schedule
- @return the
instanceIdparameter value.
*/
public String scheduleNewWorkflow(Class clazz, Object input, String instanceId) {
return this.innerClient.scheduleNewOrchestrationInstance(clazz.getCanonicalName(), input, instanceId);
}
However I can schedule it either with Python/ dotnet; Refer to dotnet SDK here: https://github.com/dapr/dotnet-sdk/blob/master/src/Dapr.Workflow/DaprWorkflowClient.cs
@skyao - FYA.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working