I am using a servlet to upload images programatically through asset manager api into dam and its renditions will be created by dam update asset workflow. In the servlet response I need to return the urls of all the generated renditions for the UI to consume.Now since the rendition generation will take time as dam update asset workflow takes time to start and to complete, how to ensure that my servlet sends the response only after all the renditions are completely generated? Note:- I am using ImageMagic for generating renditions via dam update asset workflow.
How to wait until dam update asset workflow completes in AEM
1.1k views Asked by ravi ranjan At
1
There are 1 answers
Related Questions in WORKFLOW
- Github action Post Run fails workflow
- Github actions set environment on a top level in workflow
- GHA reusable workflow succeeds with workflow_dispatch client but fails with push client
- Failed to create ISE, as i want to use this enable netorking in Logic app
- Post processing queue for Slurm
- Process level view on Flowable
- How to enable a PR originating from a forked repo to cause a GitHub workflow to push to a branch (gh-pages) in the original repo?
- not able to add previous commit into github tag using workflow
- Workflow for quickly building something with a specific non-standard build option
- Extract current running stage from dvc
- 'Workflow' cloud not be added to Xcode Cloud, request is rated limited/you must have 'Admin' permission
- Github action not getting triggered on scheduled time
- Flows sending out emails
- How to cancel a run for a non-existent runs-on member in github workflows?
- Github basic issue automation
Related Questions in AEM
- Issues with the JRE when attempting to open an AEM instance by using JDK 11.0.19 on Ubuntu
- In Webpack, how do I expose vendor JS?
- How to use ExecutorService in Kubernetes PODs
- AEM custom Workflow step: how to get ResourceResolver for initiator?
- Dynamically add pages in AEM Remote Spa
- How to update the resource property using the valuemap in the Sling servlet?
- how can we retrieve the tag properties in the backend?
- Retrieving Page Properties into Sling Servlet using resource resolver
- Selective Data Export in JSON from Sling Model Exporter in AEM?
- Getting Dependency Issues and How to Create a Logger File for Specific Classes in AEM?
- Getting currentPage from Experience Fragment with Apache Sling Dynamic Include enabled
- AEM is fails for the Video upload alone but works for images able to see Granite JS fails
- Not able to Delete components Adobe AEM 6.5
- Is AEM TarMK syncing bundles?
- AEM 6.5, SPA, Angular 9 - How do I subscribe to a parent container component from a child component?
Related Questions in WAIT
- Waiting for several hours before resuming execution
- LeetCode 1116 Java Concurrency Issue, will waiting thread revisit code before?
- Implementation Bash pipes and redirections in c
- Which child will execute first when you call fork() and wait() multiple times?
- Error (10500): VHDL syntax error at sft.vhd(19) near text ":="; expecting ";"
- how to join all threads after all files are visited?
- RBX: How to accurately yield/pause script up to miliseconds?
- How can I keep a batch file going until the opened folder window is closed?
- What would be the best alternative to use, instead of Thread.sleep here in this code?
- Playwright headless waiting issues
- Python script submitting jobs to PBS and then wait until all the jobs are finished
- AWS How to place task on new ASG instance first try, without hitting "No Container Instances were found in your cluster."
- How to use default value on Ranorex UI when we call a method with int parameters
- Wait for the response from a PHP page before submitting a form
- How can I wait for the return value of queue.pop()?
Related Questions in DAM
- CSV file getting deleted from AEM PUBLISH on code deployment
- Read AEM DAM csv files using Python
- AEM QueryBuilder Query
- Reading and Editing Adobe XMP and IPTC Metadata from DNGs, etc
- SVG support on magnolia-cms
- SiteCore DAM assets not optimized
- How to wait until dam update asset workflow completes in AEM
- Trying to create empty asset collection using "com.day.cq.dam.core.impl.collection.DamCollectionManager;"
- try to get dc:title and dc:descrption from asset metadata using HTL and java in adobe aem
- is sitecore media library a DAM?
- AEM 6.4 asset renditions, is it safe to remove all the rendition
- Nuxeo DAM system: Get document by file:content/data
- Is it possible to search for a rendition of an image based on the dimensions via QueryBuilder API
- In AEM, DAM Update Asset Workflow is not getting executed for videos?
- How to get all assets from a folder under /content/dam/folder in aem
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The property
dam:assetState=processedgets set on thejcr:content(dam:AssetContent nodetype node) if the asset is successfully processed by the "DAM Update Asset" workflow. I would say that it is best to check the status using an AJAX call instead of keeping the connection open.If you really would like to do this all synchronously then you could look into using "Synthetic Workflow" from ACS Commons: https://adobe-consulting-services.github.io/acs-aem-commons/features/synthetic-workflow/index.html