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
@@ -113,8 +113,9 @@ public interface FileProcessingActivities {
113
113
114
114
voiddeleteLocalFile(StringfileName);
115
115
}
116
-
117
116
```
117
+
It is recommended to use a single value type argument for activity methods. This way adding new arguments as fields to the value type is a backwards compatible change.
118
+
118
119
An optional @ActivityMethod annotation can be used to specify activity options like timeouts or a task list. Required options
119
120
that are not specified through the annotation must be specified at run time.
120
121
@@ -272,6 +273,8 @@ public interface FileProcessingWorkflow {
272
273
voidretryNow();
273
274
}
274
275
```
276
+
It is recommended to use a single value type argument for workflow methods. This way adding new arguments as fields to the value type is a backwards compatible change.
277
+
275
278
## Starting workflow executions
276
279
277
280
Given a workflow interface executing a workflow requires initializing a `WorkflowClient` instance, creating
@@ -296,7 +299,7 @@ String result = workflow.processFile(workflowArgs);
0 commit comments