There is a bug in ServiceNow Plugin, “Put Incident Attachment” Action.
The input parameter of attachment indicates it should be base64 encoded, I give a base64 encoded string, for example,
This Action call will NOT decode the base64 string, it will just attach “as-is” plus the double quotes before and after the base64 string. In the ServiceNow incident, upon inspecting the content of the attachment attached by the workflow, I will find the content of the attachment is like the following:
It appears the Action “forget” to base64 decode the input before attaching it.
Changes of different MIME types including using a customized one (OTHER) do not make any difference.
I believe it is a bug that need to be fixed, the problem can be repeated.
Plugin version in question is the 184.108.40.206