Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Workflow Activated user as admin.

Avatar

Level 2

Hi,

We customised Workflow Process to start activation workflow based on client requirement.

But when activation workflow start from workflow process java class by using granite workflow api,it is showing activated user as Admin rather than loggedIn user.

Thanks,

Chamu.

8 Replies

Avatar

Employee Advisor

Hi,

you can create your own workflow step to set the "lastReplicatedBy" property to the user who initiated the workflow. It might be even fixed in some later AEM version (don't have a testcase handy).

Jörg

Avatar

Level 4

Hi Jorg,

Is there any testcase for this usecase? We have same issue.

Avatar

Level 4

When a page is activated through work flow in site admin it is shown as activated by administrator rather that publisher name. Is there a solution for this?

Avatar

Employee Advisor

Can you test if this feature of ACS AEM Commons can solve your requirement? Set Replication Status

Jörg

Avatar

Level 10

So - in your situation, you have a logged in user who has permission to invoke a replication workflow. They use the workflow to publish a page and then it shows the admin has published the page - is that correct?

Avatar

Level 10

SOunds like  you are using admin session in your code and hence you see activated by admin