we are encountering the following error with our Custom Business Rule:
We are getting the "java.io.ByteArrayInputStream cannot be cast to java.lang.String" error message in the Business rule Execution Log, when the BR is triggered by the creation of ServiceAssignmentStatus, after closing the ServiceCall and synchronizing the Windows application.
We have identified that this error message appears only when we are trying to use two FSM Webhook actions, in order to retrieve the signature attachments from the Smartform generated on the ServiceCall.
This is also not the first time, we have encountered this message, and also in that case it was related to the API calls through the FSM Webhook action. That time we have solved it by applying the credentials (Client ID and Client Secret) with the suitable permissions. But this solution doesn't work for us this time (we have tried pretty much any combination). We also think that the credentials with user-group - Admin (Pre-configured), with all the actions on the Attachment object set to ALL, should be sufficient. And it is if we trigger the BR with the ServiceAssignmentStatus object ID through the Execute on the BR.
Has anyone else also encountered such an issue? We will be grateful for any hint and also provide more details, if needed.