Skip to Content
avatar image
Former Member

Error while adding approver

Hi Sourcing Experts,

I am getting the following error while trying to add the approver through the below code .

log.setLogMessage("------------------ Approver Found------------------");;
		addApprover(ext_legalgroup.getObjectReference(), new CollaboratorApprovalRuleType(0));


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(

at com.frictionless.common.db.PersistentBo.createApplicationException(

at com.frictionless.doc.collection.GeneralCollnBo.createApplicationException(

at com.frictionless.doc.collection.GeneralCollnBo.createApplicationException(

at com.frictionless.doc.collection.SubCollnBo.validateCollection(

at com.frictionless.doc.ContainerBo.execValidate(

at com.frictionless.doc.BizDocBo.execValidate(

at com.frictionless.doc.ContainerBo.validate(ContainerBo.ja...



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 25, 2011 at 09:36 PM

    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.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2011 at 02:24 PM

    The issue is resolved, thanks a lot.

    Add comment
    10|10000 characters needed characters exceeded