How to set timedout for a runscript
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 12:49 AM - edited 07-01-2024 08:50 AM
Hi All,
I have a scenario, I need to put timedout condition based on the run script execution time/ based on run script output( error/fail).
I need to query cmdb table with nameLIKE condition, I can select the maximum 50 CIs in the form level, in workflow I'm doing this query, so I have implemented this logic in rollback/loop condition based on the CI count, for each time it will pick the first 10 CI records so each time, to complete the runscript execution it is taking 4-5 mins of time(for the 10records).
So, if that runscript runs more than 15 minutes I need to consider as timedout and again I need to run that runscript.
So could you pls provide any suggestions/code.
Thanks,
Avinash