Web Service Connector Entitlement Issue

Hi,
We are using a Web-Service connector to connect to an application called Veeva QualityDocs. There are two issues that we are facing with respect to the entitlements:

  1. We have configured an attribute ‘profile’ as entitlement. This is a single-valued attribute. However, when we try to request the entitlement from IDN, it throws the below error
    Attribute definition must have multi value true to support
    multiple values for entitlement

But when we change the entitlement attribute to multi-valued and place a request, IDN didn’t throw an error. However, that is not the requirement. We want the entitlement attribute to be single-valued.

2- We have configured entitlement and account aggregation. We are able to collect all the “profiles” as part of entitlement from entitlement aggregation. We are able to collect the accounts also, however when we look for any identity which gets correlated with the account, we are not seeing any entitlement for it. Even though the profile exists for that user at the target system. Once the account gets correlated to an identity, it should display the entitlements under the accounts tab but it is not happening.

Any inputs are much appreciated

Hi Tilak,

For the 2nd requirement, run 2 aggregations. The first aggregation (Parent) will retrieve the users and second aggregation (child) based on response from first aggregation will retrieve the permissions user already have and then map those retrieved permission to your entitlement attribute.

So if I am using the correct APIs: -

  1. Your Parent HTTP Operation for Account Aggregation will be
api/v22.2/objects/users
  1. Your Child HTTP Operation for Account Aggregation will be
api/v22.2/objects/users/$response.id$/permissions

Hi Animesh,

We have also configured the same way. The interesting thing is it is working now, not sure why it was not earlier.

It seems like you have also done the integration of Quality docs, if yes please let us know if you have implemented Custom Authentication for the same? We are struggling with that from a quite a long time. If not Custom Authentication what exactly you have implemented for authentication process? Appreciate your response on this.

Thanks in advance

Yunus

Hi @yunus_merck,

It’s great to hear it worked.

I’m afraid I can’t help you with Authentication because I haven’t integrated with Quality Docs. I recommend that you start a new thread explaining your requirement in the Developer forum to get suggestions from the community.

Regards,
Animesh Tarodia