While aggregating data from a webservice connection preview schema failed due to identity attribute being null

8.4p2

Error while RO transformation - Identity attribute [userId] was not found

We have mapped userId as our identity attribute and while previewing data from endpoint userid is null for the user’ data.
Tried to handle in customization rule that if object.getstring(“userId”) id null set id as userid but not working.Any suggestion please

have you checked if all the accounts has value for userId? Its possible that this value may be missing from any and that could be the reason why you are getting this error.

Are you getting the userId in your web services response for the account aggregation endpoint? Have you mapped the response attribute to the userId attribute in your response attribute mapping for account aggregation?

yes its not there for one of the account but we need to still that account by updating userid with the employeeid

yes i have added in the response attribute mapping.

You can then try to add that logic in Account Aggregation “After Rule”

@SanjeevIAM - Yes it worked with the After rule.Thanks