Reputation: 59
I have very different requirement in AEM.
A author will initiate workflow. Workflow will activate the page on publish and It is still running on author instance. On publish a workflow will trigger (May be using Launcher) on the activated page and will call some third party service.Third party service returns result and pass to author instance. workflow which is already running on author instance, will read the result coming from publish , do the necessary things and notify the author. Author will login to his inbox and he may complete the workflow or redo.
I know it is a bit different . Please share your thoughts, how can I achieve this?
Upvotes: 0
Views: 745
Reputation: 1176
Use Replication and Reverse Replication Agents to exchange data from Author <-> Publish (1).
But based on your description I'd suggest you do not replicate the data at all but you could simply call the third party service directly from the author instance - using an EventHandler or WorkflowLauncher.
Upvotes: 1