Question
How to use RedirectAndRun activity to create multiple threads to call the same activity in each thread?
I am working on PRPC 6.3 and I have used RiderectAndRun activity in an activity step with a for loop where RedirectAndRun activity will n times and I am creating thread name dinamically. I have passed one activity with only one step to set a Log Message, as the Location parameter and it created n times threads when I checked the Clipboard. But when i checked the Pega Log the log mesage was there only for the last thread. Does this mean even if n number of threads are created, the activity I am setting to run in each thread is running only in the last thread?
Message was edited by: Vidyaranjan Av | Included Category
Hello Kasun,
I would expect each thread to call your activity. You might want to look at things like fiddler to see what you are passing to the server. Are you sure redirect and run is being called n times with n unique thread names? Also, check your logs, are you getting any errors that might account for the activity not running? Are the n unique threads being created on the clipboard?
Thanks,
Mike