on 09-25-2011 10:25 PM
Hi Sourcing Experts,
I am getting the following error while trying to add the approver through the below code .
log.setLogMessage("------------------ Approver Found------------------");
Logger.info(log);
addApprover(ext_legalgroup.getObjectReference(), new CollaboratorApprovalRuleType(0));
Error:
Exception: com.frictionless.api.common.exception.ApplicationException: Restricted To User is set to true on the Collaborator Role Object, so it can only be used with a user principal.Stack Trace: AssociatedAttribute.
Stack Trace: AssociatedAttribute=COLLABORATORS - SourceBo=1577058305:1004:ZMR_DCD_01 - ValidatingParent=1577058305:1004:ZMR_DCD_01 - com.frictionless.api.common.exception.ApplicationException: At least one of the items above is invalid. Mouse over the highlighted area for more details.
at com.frictionless.api.common.exception.ChainedExceptionFactory.createApplicationException(ChainedExceptionFactory.java:90)
at com.frictionless.common.db.PersistentBo.createApplicationException(PersistentBo.java:3160)
at com.frictionless.doc.collection.GeneralCollnBo.createApplicationException(GeneralCollnBo.java:324)
at com.frictionless.doc.collection.GeneralCollnBo.createApplicationException(GeneralCollnBo.java:336)
at com.frictionless.doc.collection.SubCollnBo.validateCollection(SubCollnBo.java:1264)
at com.frictionless.doc.ContainerBo.execValidate(ContainerBo.java:3737)
at com.frictionless.doc.BizDocBo.execValidate(BizDocBo.java:1965)
at com.frictionless.doc.ContainerBo.validate(ContainerBo.ja...
Thanks,
Ritik
The issue is resolved, thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ritik,
I would check the Approver Collaborator Role Definition and make sure Restrict to User checkbox is unchecked.
Collaborator Role Definition can be accessed from Setup --> Document Setup tab.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.