Workflows in AEM

Workflows are series of steps, with each step accomplishing a separate task.Workflows can interact with user accounts, AEM services and assets in the repository.
It is used to automate steps of activities in specific order. Each step execute some activity like activating the page and sending an email. One can set a logic at runtime to make decisions as to when a process can be executed or continue and select the next step from one of multiple possible steps.

In AEM ,workflows are mainly used for approval of a participant and sign off from approver before a page can be published.

Now next Question arises in users mind how to create a workflow and what is workflow model?

As we all know that key application of AEM is to create new pages and publish to website. Workflows functionalities are subject to organizational process including steps and approval from various participants. For example;  To publish a page, steps can divided in parts and can be triggered as directed, like first step is approval from content reviewer  and second is approval from legal or other departments.

 What is custom workflow?
AEM provides some out of the box workflows which can be found in workflow console. In workflow console you can create your own workflow or can customized already exist one. You can enable your workflow in WCM console and can apply on respective pages. Custom workflows are created as per the user need. User can modify/customize the pre-existing workflow or create new.

Like Requesting to review
Activation of a page
Request for deletion
Deactivation of a page
Deletion of a page
Pre existing Workflows –
1-Activate Page/Assets
2-Deactivate Page/Assets
3-Reverse Replicate content

"INBOX- is used to interact with workflow; user can find workflow activity in INBOX."

Workflow models Steps and Objects - starts with a START node and END node.

Steps- Step is an object with in the workflow model with a series of objects of different types in workflow console

Workflow Objects-
Transition-Link between 2 consecutive steps, rules can be applied in transition.
Work item-Object that represents task or an action.
Payload- Payload is a resource on which workflow perform its functionality. Example- PAGE
Lifecycle- It begins when workflow is started and ends when the end node is processed.
Workflow Instance- Is used to view workflows, which are currently in Progress.
Launchers- is used to trigger an event in AEM. It can be triggered on predefined measures by selecting the workflow model, which you want to execute.
Achieves- to see the history of workflow executed or deleted or modified

Examples of workflows available in workflow console:
DAM update Assets
Request to complete move operation

Workflow Status:-
There are fours status of workflow which indicates or determine the actual stage of workflow.
1-Running- Instance can be seen on page to another user with running workflow (the task is not completed yet)
2- Suspended(Instance has been suspended with a reason of delay)
3- Aborted (Instance has been terminated to continue work)
4-  Stale(Instance did not found a job to execute or an error occurred  when executing the workflow )
5- Completed(Instance of the workflow is complete can be seen in workflow console)

Workflow management
workflow is the process of creating cycles of sequential and parallel tasks that must be accomplished in the WCMS. For example, one or many content creators can submit a story, but it is not published until the copy editor cleans it up and the editor-in-chief approves it.

Appreciate your feedback.


Comments