When using this feature, if one or more of the accounts has been updated and an attempt is made to update one or more other accounts having the same entitlement, the following error occurs:
Entitlement {User name - Entitlement name} already in the same state.
There is no mention of the account name.
For example, in the Review Results below, Cherry Blossom has the
File System Accounts business source entitlement
Misc via two accounts:
Intern1 and
Conferences.
Image description
The following Web Services call to
updateReviewItems is used to revoke entitlement
Misc from accounts
Conferences and
Intern1.
?xml version="1.0"?>
<Review>
<ReviewResultName>UARCBLOSSOM</ReviewResultName>
<SignOff>false</SignOff>
<ReviewItemChange state="revoke" comments="This is revoked">
<RevieweeUserId>U1</RevieweeUserId>
<RevieweeAccount name = "Conferences" business-source="A1"/>
<Entitlement resource="Misc" action="-" business-source="File System Accounts"></Entitlement>
</ReviewItemChange>
<ReviewItemChange state="revoke" comments="This item is revoked">
<RevieweeUserId>U1</RevieweeUserId>
<RevieweeAccount name = "Intern1" business-source="A1"/>
<Entitlement resource="Misc" action="-" business-source="File System Accounts"></Entitlement>
</ReviewItemChange>
</Review>
In this example, the error message:
Entitlement {User name - Entitlement name} already in the same state.
does not tell you which account had the failed message.
This is a known issue reported in engineering ticket ACM-107119.
This issue is being investigated by the Engineering team in order to provide a permanent resolution in a future release.
The fix will be to add the account name to the error message as shown below:
Status For Review Item(cblossom-Misc for the account Intern1)=
Failure (The review component is locked and can not be changed.)
The full message will look similar to this:
Status=Partial Success. Updated 1 of 2 review components successfully.
Status For Review Item(cblossom-Misc for the account Conferences)=Success
Status For Review Item(cblossom-Misc for the account Intern1)=
Failure (The review component is locked and can not be changed.)