User Unassigned from Application Workflow

Yes, I think it would make sense to write the ID value to the Okta user profile so you can reference it later. That way, even if the user gets deactivated and reactivated in Okta, they should still have the value so you can reactivate their account in the downstream app. Hope that helps.