Hi Chetan,
Is workflow triggered through launcher configuration? or it is triggered manually by Author?
Either ways, this is what you can do:
- Putting additional run-modes on your publisher as Pub1 and Pub2.
- If your workflow is triggered through launcher: using felix configuration to enable a launcher for specific publisher using the additional publisher run-mode.
- If your workflow is manually triggered, then put a process step in your workflow that will cancel the workflow on specific publisher instance, you can again control which instance should complete the workflow using additional publisher run-modes.
If above solution won't help, then please give me some more details around your use case.
Hope this helps :)
- Runal