Hi thanks a lot for your help!!!
I've one last question. I've built a test with a button in the geoprocessing group in the analysis tab and it works.
But when i test with the Versioning group in the Versioning tab It don't.
I think the refID are right. What I'm doing wrong?