Expand my Community achievements bar.

SOLVED

How to handle scenario where changes are made to product data under etc/commerce imported from PIM.

Avatar

Level 8

Hi All,

We have products imported from PIM into AEM and placed under etc/commerce.

A workflow is present which generates the pages, if manually run once certain id's for products under etc/commerce are provided as input to workflow.

Suppose, we have few products which are updated at a later point of time. The product changes have to get reflected on the page.

How should we approach this.

Any thoughts/pointers on this will be helpful.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

No need to customize it, path field is writable also , just write the path regex like "/etc/commerce/.*" to apply the launcher to every child under /etc/commerce .

You can also take examples from various launchers created there in launchers tab.

Hope this helps!

Thank you!

Nupur

View solution in original post

4 Replies

Avatar

Level 10

Does your AEM app not reflect the current data? 

Avatar

Community Advisor

Hello,

I am expecting that you would be using launchers for worflow model.

Launchers allows us to run the workflow on updation on node as well. you can create the workflow on node updation under etc/commerce and let workflow replace the page with new updated page.

Hope this helps!

Thank you!

Nupur

Avatar

Level 8

Hi Nupur,

Thank you for your reply.

I see that the Path field in Workflow Launcher Configuration is able to select paths only under websites and not etc folder.

So, probably it is restricted to only paths under /content or customization is to be done to accommodate paths under etc folder?

Avatar

Correct answer by
Community Advisor

Hi,

No need to customize it, path field is writable also , just write the path regex like "/etc/commerce/.*" to apply the launcher to every child under /etc/commerce .

You can also take examples from various launchers created there in launchers tab.

Hope this helps!

Thank you!

Nupur