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

How to call the Route Title in AEM Workflows?

Avatar

Level 2

Hello,

I am new with AEM workflows and I am trying to configure an OR Split with 2 branches. I am aware that 1 branch should be the default route, while the other should not. In the JavaScript for the branch that doesn't have the default route, how would that branch get selected if my "Reject" button is pressed? I would appreciate it if someone could point me in the right direction for this.

1548349_pastedImage_0.png

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Yes as Scott stated, please look at the article : Adobe Experience Manager Help | Invoking an Adobe Experience Manager Custom 6.4 Workflow from a web ... which shows the how to use Approve and Reject step and they show up in the dialog.

ALso, there is no need to use JS.

Hope this helps!!

Thanks,

Ratna Kumar.

View solution in original post

2 Replies

Avatar

Level 10

See this article - that setups a OR Split workflow. It shows you how to setup the workflow and how its routed. Basically - you do not need JS. You simply use a title and that appears in the box when the workflow is executed.

In this example, Approve and Reject are used and they show up in the dialog.

Adobe Experience Manager Help | Invoking an Adobe Experience Manager Custom 6.4 Workflow from a web ...

Hope this helps...

Avatar

Correct answer by
Level 10

Hi,

Yes as Scott stated, please look at the article : Adobe Experience Manager Help | Invoking an Adobe Experience Manager Custom 6.4 Workflow from a web ... which shows the how to use Approve and Reject step and they show up in the dialog.

ALso, there is no need to use JS.

Hope this helps!!

Thanks,

Ratna Kumar.