thanks at @Allister for the work around which helps me out to continue developing my script? @Fox the success number action should be able to track number of successful threads irrespective of were the action is being used in the main function or when call function in several threads action is used.