- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-25-2022 12:43 PM
Hey all,
I am having trouble getting the SN integration to pull the rasterized images into a SN ticket with the 'servicenow-upload-file' automation. I've tried to just upload all .png which seems to skip the rasterized images. Also trying to pull files based on tags given through rasterization doesn't seem to work earlier.
Has anyone had success with this sort of operation?
04-26-2022 06:52 AM
My suspicion is that this is a race condition. the data isn't available from the previous task to pass to the servicenow upload task. just put a sleep task between them for a few seconds and see if this resolves the issue.
04-25-2022 12:50 PM
Hello,
Rasterized images are saved under the InfoFile context path. Did you try referencing the entryIDs under that path?
04-25-2022 01:44 PM
That's good info Rahul.
But when I try to pull from InfoFile I still am not seeing something. Do I need a separate query before or can I just 'get' from 'infofile' in the existing servicenow-upload-file step?
04-25-2022 02:20 PM
Can you show me how you're attempting to execute the command?
InfoFile consists of all the rasterized entries. So you would run the command as follows:
!servicenow-upload-file file_id=${InfoFile.EntryID}
04-26-2022 06:46 AM
Here is what I just recently tried but still not pulling anything. I am only trying the filter this attempt because it was still pulling nothing without one.
04-26-2022 06:52 AM
My suspicion is that this is a race condition. the data isn't available from the previous task to pass to the servicenow upload task. just put a sleep task between them for a few seconds and see if this resolves the issue.
04-26-2022 07:33 AM
Thanks Cstone,
But the rasterize step is way earlier in the playbook. I even am uploading other items to the ticket before this step and they always get in fine.
But you were right, the sleep timer got the imaged in fine, thanks a lot!
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!