Expand my Community achievements bar.

SOLVED

Invoke the workflow by http request

Avatar

Level 2

Hello,

I would like to kindly ask you about my idea. So we are having our ERP when the new products are created. I want to integrate the process of article creation with our DAM (Assets). So I imagine it in the following steps.

1. Someone creates an article in ERP

2. ERP trigger a workflow in DAM (by HTTP request with SKU in the path to AEM)

3. Some groups in DAM (let's say Content Group) receive an email/push to fulfil the asset (it could be good to check if the asset with a specific SKU exists, if not - continue the workflow)

4. If the asset was uploaded, the workflow was finished. 

 

What do you think about that? 

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @pdabro ,

We have to create a custom launcher with proper event, where we need to configure the workflow path (the one which we want to invoke). Based on selected event launcher will get call and it internally call the workflow.

Please use below article for reference:
https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/workflows-sta....

3 Replies

Avatar

Employee

Hi @pdabro ,
It's better to have the SKU path configured in properties (mandate if required).
We have the flexibility to create launcher to trigger workflow, try to leverage the OOTB feature.
Approach looks fine 🙂

Avatar

Level 2

Hello @MalayaRanjanDube ! Thanks for your hint!

 

Please tell me 2 things : 

1. What do you mean by "SKU path configured in properties (mandate if required)"?

2. There is no default HTTP launcher in workflows? I have a cloud version and I never made any code changes. 

 

Sorry for the silly questions, I'm a newbie in AEM products, and it's really tricky to learn something on my own. Do you recommend some source of knowledge? I will try to make a OOTB feature on my own, but for now I don't even know how to start. 

 

thanks in advance!

Avatar

Correct answer by
Employee

Hi @pdabro ,

We have to create a custom launcher with proper event, where we need to configure the workflow path (the one which we want to invoke). Based on selected event launcher will get call and it internally call the workflow.

Please use below article for reference:
https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/workflows-sta....

page footer