Hi Punith,
You can create a custom task and task ID will be different. It is a simple solution.
System A: Task prefix 999. Task ID is like TS99900001.
System B: Task prefix 998. Task ID is like TS99800001.
Maintain prefix numbers - SAP Business Workflow - SAP Library
Regards,
Masa / SAP Technology RIG