Replication via Custom Workflow
Hi All,
I have created a custom workflow for replicating a particular page/asset to publisher but via a new replication agent.This workflow will be used only by specific set of users.(specialusers)
So I have created 3 users with the required permissions :
1)specialuser-From this user , I will run the workflow for activation (others will not have the access to run).
2)transportuser-This user is for the replication
3)agentuser-to mention as agentId in replication agent.
I am able to successfully run the workflow and replicate to publisher , but in the author instance ,it is showing "admin" as the replicator(in siteadmin).Please find the screenshot attached.

I am using replicator.replicate(session, ReplicationActionType.ACTIVATE, path, opts) for replication.(opts is the ReplicationOption for choosing the Replication agent)
Is there any way to show "specialuser" as the replicator.I browsed a lot but couldn't find any reference.
Also Can someone please help me in understanding the use of AgentId in Replication agent.
Please help me in the above case.
.
Thanks,
Pallavi