You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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());
}
/**
*/
public String scheduleNewWorkflow(Class clazz, Object input) {
return this.innerClient.scheduleNewOrchestrationInstance(clazz.getCanonicalName(), input);
}
/**
instanceId
parameter 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.
The text was updated successfully, but these errors were encountered: