Hi Sailors,
I have created a webservice Application. we are facing few issues as detailed below:
ISSUE 1 : When a user raise the request for multiple entitlements, (for Example - creating the account and updating the same) then those two requests are hitting the connector as individual tasks at the same time and both are having the operation Type as Create (Instead of one as Create and other as Modify).
We need your siggestion to handle the requests one after the other(second request as modify)
ISSUE 2 : When a user with Entitlements A, B, C is raising request for multiple entitlements such X & Y, then two requests (X,Y) are hitting the connector as individual tasks at the same time and both are having the operation type as Modify… Then the user should get the Profile updated as A, B, C, X,Y.
But, for some requests we are facing the overlap/Wipe-off issue.
Reason: The two requests (X,Y) are hitting the connector as individual two tasks at the same time, this is leading to create two JSON’s A,B,C,X for request 1 and A,B,C,Y as request 2.
API behaviour is if you want to do any modify operation you need to collect the existing profiles/Entitlements of the user and send in modify JSON if we miss any profile then that access will be wiped off from the target system.
Example:
If User have entitlement A, B, C
then we raise request for X & Y
if B hits the connector 1st then MODIFY request JSON should be like below
{ ProfileName : [A,B,C,X] }
if c hits the connector next then MODIFY request JSON should be like below
{ ProfileName : [A,B,C,X,Y] }
Can you please help us to sort this issue.
Thanks,
Saikiran D