Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Angular JS for Front Ending AEM Workflows

Avatar

Level 10

Hi all,

For our client, the requirement is to have Angular JS for Front End and AEM for Back End.

Could Angular JS do Front Ending for AEM Workflows?

We should be able to trigger workflows also using Angular JS.

For that matter could AEM Workflows Inbox be realized from any front end, by calling some API?

Appreciate all your quick replies.

Thanks,

Rama.

1 Accepted Solution

Avatar

Correct answer by
Employee

I think you should be able to trigger workflow from Angular UI

Refer Interacting with Workflows Programmatically

View solution in original post

8 Replies

Avatar

Administrator

I am not very clear with your question. What do you want to achieve?

Also, did you check the other thread that you asked Angular JS Front End and AEM Back End ?



Kautuk Sahni

Avatar

Level 10

Hi Kautuk,

Appreciate your quick revert.

Let us say we have AEM implemented as a front end as well as back end.

It has some workflows implemented.

We use Web Console to trigger workflows and Inbox to look at and act on Workflow tasks.

Now, let us say, we replace AEM front end with custom UI with Angular JS. Back end is still AEM.

My question is how to trigger workflows and how to implement the Inbox AEM Functonality to be able to act on WF tasks.

The other post is similar in front end and back end, but it is more regarding the product stack.

Thanks,

Rama.

Avatar

Level 10

This requirement seems strange - why would you want to replace the built in AEM GUI that exists with a custom Ang JS in terms of using Workflows?

This is not best practice and there would be no docs on how to do this.

Avatar

Correct answer by
Employee

I think you should be able to trigger workflow from Angular UI

Refer Interacting with Workflows Programmatically

Avatar

Level 10

That is true - from Ang - you can make an AJAX call to Java Servlet and use the WF Java API to fire off a workflow.

Avatar

Employee

@Rama FYI , AEM 6.4 has got new UI for Workflows , I will suggest you to have a quick look.

Avatar

Employee Advisor

Hi,

I understand that you want to replace the authoring UI (this is where you typically start workflows and use the inbox) with an Angular-based frontend, is that correct? This is definitly not recommended, as you are re-implementing the complete UI from scratch. I don't see any benefit in doing that.

regards,

Jörg