Just started playing around with Workflow so maybe...
# squarelibraries
n
Just started playing around with Workflow so maybe I’m missing something but how do I have an action that can start an activity or interact with an Android
Context
? I have a
LoginWorkflow
that can launch a Oauth flow that redirects to the browser and I’m not quite sure how to do that 🤔
r
You could make the activity available as part of the props of the root workflow. Or go the other direction, have the workflow emit output events that signal code in the activity when some external chore is needed. I guess I'd lean toward the former, so that I could state machine the hell out of oauth
n
My initial idea was to do something like the latter but I think the former makes a lot more sense! Thanks @Ray Ryan 👍
r
NP, and please let us know how it goes, here or in http://workflow-community.slack.com
LMK if you want an invite to the latter
n
Yeah would appreciate an invite
m
Hello @Ray Ryan 👋 Could i get an invite as well? Thanks