Posted: 26 May 2017 6:48 EDT Last activity: 23 Sep 2017 16:37 EDT
I have a requirement like this. In an activity I need to update the status of all the child cases except the current case. So in a java step, i need to get the current thread name and compare with all the threads and update the property "pyWorkPage.pyStatusWork" except the current thread.
Can anyone share the methods to achieve the above.
Thanks in advance
***Updated by moderator: Lochan to update Categories***
For your requirement if i understand correctly, you just compare case ID in loop and update status if it is not current case id. Save current case id in local variable and then compare, you don't need to compare threads.