We have a requirement to hide the certain transitions in the view screen and these transitions need to be updated through the code.
We had explored the option of adding the workflow condition to hide the transition, it works i.e it is not available in the view screen but looks like it is not even available to update through the code as well.