Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Refresh the page in Workflow

Avatar

Level 3

May be a basic question, but is it possible to trigger a page refresh either in a workflow process, or using any workflow step?

 

I have this custom workflow process that, when an asset is uploaded to the DAM, takes it and sorts it in another folder per its metadata. I want to trigger another page refresh once that workflow process is ran, so that the moved asset reflects to the correct folder. 

 

sean12341_0-1674631729114.png

 

Thank you, 

3 Replies

Avatar

Community Advisor

Check all OOTB component if any component can help you run a script. OR

  •  What you can try is create your own component(This component will only do the reload of the page).
  • Put this component in "workflow" group, then You might see this component workflow console. 
  • Add this component in your workflow model. This should work I have not done that but you can give it a try and check

Avatar

Community Advisor

I think refresh page is not proper solution to handle something like this

How many pages will you refresh and which user page will be refreshed?

Can you explain the what type of Metadata how frequently this will happen based on that we can think of solution

Avatar

Level 3

Actually, I just want to refresh the current page I am on. So the page shown in the screenshot. If I manually refresh it, the .jpg image will be shown in the /mountain folder as it was moved by the workflow. But I don't want the manual refresh, I want the .jpg to be shown in the correct /mountain folder as soon as it is being uploaded, so an automatic refresh after the workflow has run is the best way I can think of.