How to create productions via routine
I am trying to create a production from a script(routine).
I am using the below way to create an empty production
Set oProd=##class(Ens.Config.Production).%New() Set oProd.Name="Test.NewProduction" Set oProd.ActorPoolSize=1 Set status=oProd.%Save()
But when i tried to start the production, i am getting an error as "Test.NewProduction" class does not exists.
Is there any other way to create the production via routine or terminal using commands as above?