Hello, I am trying to convert multiple files with different extensions using the 'ConvertFile' automation, so that it can be display on the layout. However, when there are different types of files in one incident, it keeps giving me an error. What would be the best way to list all files and convert them by EntryID? Here what I currently have configure with the fields and transformations.
What error are you getting? ConvertFile can handle multiple files of different types with no issues (just tested on my instance), so if there's an issue with what you've got it seems likely it's in the Filter/Transformer section.
I note that your "Where" section seems to be missing an OR before the final entry.
What do you get if you use the Filter/Transformer test panel with context from an incident?
Hmm, when I try with a filter I get similar test output and it works.
I was able to get this error: "Failed converting file. General exception: failed to get artifact file path, invalid file (52)" by manually deleting the referenced files from /var/lib/demisto/artifacts - can you check that directory to make sure the expected files are still there?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!