AnsweredAssumed Answered

Create rule to specialize document type

Question asked by rohit.chakraborty on Apr 11, 2016
Latest reply on Apr 11, 2016 by rohit.chakraborty
I am developing a JAVA webscript to add rules to specific folders. I want to add a rule that uses the Specialize Type action and change the type of document to a custom type. I know the syntax but am not sure how to set the following code to a custom type:

ruleParameters.put(SpecialiseTypeActionExecuter.PARAM_TYPE_NAME, ContentModel.TYPE_CONTENT);   


Instead of ContentModel.TYPE_CONTENT I want to add the custom type.
Any help will be appreciated.

Outcomes