Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Angular JS for Front Ending AEM Workflows

AEM_Forum
Level 10
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
Abhishek_Dweved
Correct answer by
Employee
Employee

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

Refer Interacting with Workflows Programmatically

View solution in original post

0 Replies
kautuk_sahni
Employee
Employee

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 ?

AEM_Forum
Level 10
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.

smacdonald2008
Level 10
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.

Abhishek_Dweved
Correct answer by
Employee
Employee

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

Refer Interacting with Workflows Programmatically

smacdonald2008
Level 10
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.

Abhishek_Dweved
Employee
Employee

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

Jörg_Hoh
Employee
Employee

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