Posted: 15 May 2019 5:00 EDT Last activity: 15 May 2019 12:10 EDT
Connect wait method not working with queueBatchActivity and queue method
I am doing multithreading of an activity, i have tried queueBatchActivity and queue method and multithreading is working fine, but when I use connect-wait method just after these method to wait untill all the threads are ended that part is not working.
Connect wait method timesout immideately once the execution reaches on this step.
I have defined various timeouts value but it is not working.
***Edited by Moderator: Lochan to update platform capability tags***
Per the help, the Connect-Wait method can be used with the RDB- and Connect- Methods, as well as the Load-DataPage method. Based on this, I do not believe the Queue instruction and queueBatchActivity() are compatible.
You could potentially implement a custom mechanism for this, but I don't believe the Queue instruction returns anything on success, you would likely need to find an approach for determining it's completed.