Workflow for content Fragments | Community
Skip to main content
Nandheswara
Level 4
June 18, 2022
Solved

Workflow for content Fragments

  • June 18, 2022
  • 3 replies
  • 1451 views

I used a Content Fragment in my page but when i try to add some variation to the existing content fragment mean that need to be approved by approvar before listing it on site.

Give some workflow solution for this problem

 @Arun_Patidar @SantoshSai  @DEBAL_DAS @fanindras @lukasz-m @Pulkit_Jain_ 

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

Hi @nandheswara ,

You have to create participant chooser workflow model on modification, assign the specific user of group to it.

We have similar requirement resolved here, please have a look at this thread - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/creating-a-workflow-model-for-specific-content-fragments/m-p/456338#M131346

 

If your wish to get read off on rejection basis - please follow this thread you might will face similar challenge - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/workflow-for-a-manager-approval/td-p/456900

Hope that helps!

Regards,

Santosh

3 replies

Kiran_Vedantam
Community Advisor
Community Advisor
June 18, 2022

Hi @nandheswara 

 

Please find the step by step process of how to create a workflow for content approval here: https://www.aemtutorial.info/2018/09/content-approval-workflows-in-aem-64.html?m=1

 

Hope this helps!

 

Thanks,

Kiran Vedantam.

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
June 18, 2022

Hi @nandheswara ,

You have to create participant chooser workflow model on modification, assign the specific user of group to it.

We have similar requirement resolved here, please have a look at this thread - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/creating-a-workflow-model-for-specific-content-fragments/m-p/456338#M131346

 

If your wish to get read off on rejection basis - please follow this thread you might will face similar challenge - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/workflow-for-a-manager-approval/td-p/456900

Hope that helps!

Regards,

Santosh

Santosh Sai
ShaileshBassi
Community Advisor
Community Advisor
June 20, 2022

@nandheswara The workflow model can be created as follows

and for the getting the metadata for checking the approval status you either create the java process step and then route or,

you can create the ecma script for checking it as follows

 

And for starting the workflow on creating of the variation you can write the launcher for it.

 

Reference: https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/workflows-starting.html?lang=en#:~:text=The%20Workflow%20Launcher%20monitors%20changes,already%20launched%20for%20specific%20nodes.

 

Thanks