We are using below API to publish the content instance. However, in the content instance, there are some related content is not approved, so it make the publishing invalid. However, below code did not show any exception message if such happen. If in VCM AppConsole, when we manually publish a content instance, it will ask you to select validation policy, it can be selected as Lenient, Moderate or Strict, how to set this through API? Is it possbile to capture those unapproved content by using API. site=Site.findByName(siteName); sr=new SiteRef(site.getId()); Calendar cl=Calendar.getInstance(); SimpleDateFormat sdf=new SimpleDateFormat("yyyyMMddHHmmss"); djd=new DeploymentJobDefinition("www auto publish to "+stageName+" "+sdf.format(cl.getTime()),JobType.PUBLISH); djd.setRequestor("344773"); djd.setDescription("www auto publish to "+stageName); cp=new ContentInstancePattern(moArray); djd.setContentPattern(cp,false); djd.setParameter( JobParamConst.PARAM_NAME_AUTO_PRUNE,JobParamConst.PARAM_VALUE_AUTO_PRUNE_FALSE); djd.setParameter(JobParamConst.PARAM_NAME_FORCE_DEPLOY, JobParamConst.PARAM_VALUE_FORCE_DEPLOY_TRUE); dc=new DeploymentClient(sr); JobReport jobreport = dc.createJob2(djd); dc.runJob(jobreport.getJobData().getId(), stageName, flag); I have also tried approvalPolicy.setUnapprovedDescendentAction(JobConst.UC_POLICY_STRICT); but still not get any warning message when there is unapproved content.