Replies: 1 comment 2 replies
-
I do make a try (using pure rpc service api), seems that everything is fine. Cadence rpc core api does support activity and workflow be in different domains. Here are my analysis: Core api RespondDecisionTaskCompleted(
ctx context.Context,
CompleteRequest *shared.RespondDecisionTaskCompletedRequest,
opts ...yarpc.CallOption,
) (*shared.RespondDecisionTaskCompletedResponse, error)
type Decision struct {
DecisionType *DecisionType `json:"decisionType,omitempty"`
ScheduleActivityTaskDecisionAttributes *ScheduleActivityTaskDecisionAttributes
...
}
type ScheduleActivityTaskDecisionAttributes struct {
ActivityId *string `json:"activityId,omitempty"`
ActivityType *ActivityType `json:"activityType,omitempty"`
Domain *string `json:"domain,omitempty"`
TaskList *TaskList `json:"taskList,omitempty"`
Input []byte `json:"input,omitempty"`
...
} But cadence client doesn't support using Q: Why I am trying to switch different domain in workflow? |
Beta Was this translation helpful? Give feedback.
-
Using workflow.ExecuteActivity with different domain (with workflow) could be help for user test it's new version activity implementation and not affect it's production implementation.
Beta Was this translation helpful? Give feedback.
All reactions