Please give my some advance in workflow creation:
I need to "freeze" my custom ItemRevision by workflow. How to do that?
"freeze" - is meaning that nobody can modify this Itemrevision or any dataset attached to it.
users can only revise item to continue work on it.
As I understand assigning status TCM Reliesed is not enought.
This is usually done by assigning a status to an item revision and a dataset.
You can also try to use ACL in Workflow, but then you need to add an item revision and a dataset to the targets
by default, yes any status should give access only to reading, you can manage it in the access manager.
Here's what rules work on statuses:
"TCM Release" status has a special rule in the OOTB Accessmanager which makes it unsuitable for your endeavour.
Best would be to create your own Status Type in BMIDE, deploy the datamodel, and then create a workflow template derived from a suitable OOTB workflow template.
Quickest would probably be to use the OOTB "TCM Release" workflow, and removing the "TCM Release" specific part from the AM ruletree.
If you have to mass-freeze a lot of existing data and don't care about workflows, you can look at the release_man command line utility.