Search Media (wordpress) only works if ran by itself

I am running a scenario where Eledo generates a PDF, it uploads to wordpress via create media, then search media searched for the mapped media ID and returned the URL to the PDF so I can then create a post and have a link to said URL mapped out.

The issue: If I run the scenario, the search media module never has any output, but if I run Search Media as “run this module only” it retrieves the data I want. During the troubleshooting process I added in a delay of five minutes between the create a post and the search media modules, but this did not change the outcome.

Any ideas?




This is because when you “Run this module only”, you are not inserting any Search Terms.

When you are running the full scenario, the ID and term is combined – seems like something is wrong here.

If you need further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

Following these steps will allow others to assist you here. Thanks!

2 Likes

Hey @netx9nine

Use ‘Get media item’ instead of ‘Search media item.’ You can obtain the URL of your media item in the output of ‘Get media item.’

3 Likes

Thank you! It was confusing me why run this module only was returning data for the output, but I think it was leftover from a run before.

I found the issue when I started looking elsewhere. Wordpress will not search according to Media ID and with the media id and title pushed together, WP could not find anything with that query. I searched for the title only (and deleted a duplicate name media in WP I had forgotten about)

4 Likes

No problem, glad I could help!

1. If you have a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

others can save time when catching up with the latest activity here, and

  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

2 Likes