I also tried when you mentioned to use CallSub. it didn't work as I am pausing the previous activity.
But Now I am having one other problem. I created a code module, created a HttpClient object (in Process gloabls) to read the web response.
I sent the http request, but application throws an error saying _ResponseSuccess() method not found, even though this event method exists.
But the same thing works with activity module. My question is why _ResponseSuccess() event is not recognised in code module? Anything I can do to solve this problem?