App builder action failing no logs. | Community
Skip to main content
Level 2
March 15, 2024
Question

App builder action failing no logs.

  • March 15, 2024
  • 1 reply
  • 829 views

I have a requirement where I am supposed to get all the products from my PIM system and get the details of all the images used from AEM asset.
Then use that information in AEM Asset.
To fetch all the necessary product details i have to send thousand requests and it takes approximately 12 minutes. 

I created an app using app builder but it just does'nt work after 10k products.
As far as I can think The limitation of 600000ms timeout for action is the issue. Is there a way i can execute this? or any different type of app builder service which will be beneficial in such use case?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

anupampat
Community Advisor
Community Advisor
March 17, 2024

Hi @anuj31005349h74z ,

 

If you are using App Builder, why not try them in batches. Adobe I/O Runtime leverages the container’s auto-scaling capabilities. A very good read would be https://blog.developer.adobe.com/adobe-app-builder-the-power-of-scaling-at-your-fingertips-8ae1149b7ebd 

 

Else of course you can build a custom solution which would take significant time & effort - 

1. Read the PIM daily by running a scheduler (you can adjust the frequency)

2. Save the data as Content Fragments

3. A sling job can then fire a query for new/changed content fragments to list assets related to a particular product ID, say lists all assets for an eanCodes.

4. Then just map the data onto the asset metadata.

 

Hope it helps.