Not sure what it takes to implement second scenario you described. how does it look like?
WorkflowThatNeedsCredentialscalls activityuserActivities.requestGoogleCredentials(userId, workflowId). passingworkflowIdto send signal back.WorkflowThatNeedsCredentialsimplements reply signal processing and waits on replyuserActivities.requestGoogleCredentialsactivity usessignalWithStart(we are using activity because can’t run signalWithStart from workflow)- Implement GetGoogleCredentialsWorkflow.subscribe(workflowId: String) signal processing
- GetGoogleCredentialsWorkflow sends signal to all subscribers on return