Capture Okta User status when it changes using workflow and store it in a custom user attribute field

We have a need to use User’s status value in the Group rule regular expression. It turns out that Okta Regular Expression does not allow me to access Okta User Status using regular expression. So the only alternative way is to write a workflow that would notice any change to user status and store the latest value in a User profile field . This way we can use regular expression against the status field.

Any suggestions around this approach. Does anyone have a workflow that you can share?