Enable and Disable account through the sync workflow

Hello, 

We are disabling accounts when they are inactive. But now I need to re-enable the account through the workflow. 

I throught about pushing 512 to the useraccountcontrol, but that would also overwrite other account option flags. 

Currently I am writing just 1 or 0 to an extensionattribute, and then have a step handler to run a script to enable/disable accounts based on this attribute, but I don't think this is the optimal way to handle. 

Does anyone have any better solution? Best would be somethink like just writing "False" to "edsaAccountIsDisabled", which isn't possible because it's a calculated value. 

Thanks in advance for your answer.