
q5nrb (q5nrb) asked a question.
Hello,
Q: Can Workflows trigger a flow based upon events happening in a different Okta org?
We've just got Workflows turned on in our preview, and the second flow I am trying out fails to kick in.
We have the Workflow engine running on Okta HUB. The flow is set to start on "User Suspended" event on the Okta HRM tenant (which does not have workflow) and then start working on the linked account in Okta HUB.
The connection seems fine,
and I believe the API scope is fine for this flow.
I followed this guide (https://support.okta.com/help/s/article/How-do-I-connect-Okta-Workflows-to-a-different-Okta-tenant?language=en_US) - which I believe is incomplete and should be reviewed. I think it is missing the connection setup part in Workflows, where you add the Client ID and Secret that gets generated. And I've interpreted step 8 to assign the Workflow OAuth app to the admin account that is doing the authentication when setting up the connection in Workflows.
So, if this is supposed to work, what's wrong with this setup?
Thanks,
Mads

Right, finally back from summer break, and Okta support had the solution ready waiting for me. It was insufficient Okta API Scope permissions. Both the okta.eventHooks.manage and okta.eventHooks.read needed to be granted. After re-authorization of the connector, the flow activates and works just fine.