Unique names for rasterized images into ServiceNow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unique names for rasterized images into ServiceNow

Greetings,

I am pulling in rasterized images into ServiceNow from URLs, and ideally I'd like to name them the URL they are pulled to eliminate some confusion.  But I am not seeing a good way to do this, I have tried adding "URL${inputs.URL}" to the filename in the rasterize automation, but it appends every URL that was pulled into the filename, and the filenames get so long that I assume SN rejects them from uploading.

Also, double jeopardy, but is there a way to upload the rasterized files as images instead of attachments?   Uploading as attachments does not trigger preview thumbnails and I've checked the tables in SN to verify that PNGs are allowed previews.

1 accepted solution

Accepted Solutions

L5 Sessionator

Hi @Jersey_Mankowski, You would need to process the URLs as a list. I would recommend using a sub-playbook with the ForEach function. If you pass the URL key as a parameter, it will send 1 URL to the sub-playbook for every loop.

 

Regarding your other question. First check the SNOW API to see it they allow it. If you find the API call create a feature request.

View solution in original post

4 REPLIES 4

L5 Sessionator

Hi @Jersey_Mankowski, You would need to process the URLs as a list. I would recommend using a sub-playbook with the ForEach function. If you pass the URL key as a parameter, it will send 1 URL to the sub-playbook for every loop.

 

Regarding your other question. First check the SNOW API to see it they allow it. If you find the API call create a feature request.

Thanks @jfernandes1, How would you call a ForEach function?  I am not seeing anything in the documentation. 

L5 Sessionator

Hi @Jersey_Mankowski, screenshot below.

Screen Shot 2022-05-11 at 12.24.41 pm.png

Aha, only available on sub-playbooks.  Thanks @jfernandes1 

  • 1 accepted solution
  • 2510 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!