Potential Bug: Using first record in the pub sub message to determine Candidates for WKS Transformation
Storage service currently batches up to 50 records in a single pub/sub or service bus message.
WKS transformation is currently happening if the source for the records is not "WKS" or "WKE"
Currently before transformation we are only checking the source for the first record in the message and transforming/discarding all other records in the batch based on that only. In case of multiple records in a message the first one might be a transformed record while others may not be.
Similar thing is being followed for checking the Operation type
Code Reference:
Edited by harshit aggarwal