The item gets closed on new generation/version on lifecycle

Whenever I create a new generation/version using csharp code on lifecycle it would always close the item, is there any function i can use which does not  close it?

below is my code

Aras.Server.Security.Identity plmIdentity = Aras.Server.Security.Identity.GetByName("Aras PLM");
bool PermissionWasSet = Aras.Server.Security.Permissions.GrantIdentity(plmIdentity);
Innovator inn = this.getInnovator();
try {
Item myThis = this.apply("version");
} catch (Exception e) {
return inn.newError(e.Message);

return this;

Parents Reply Children
No Data