- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:36 AM
Hi,
If i am running the Back ground script i can see the incident record why i can see this record only.
any specific reason why i am able to see
INC0010001
Please find the attached SS for the same please help me out the clear explanation on the same.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:07 AM - edited 08-17-2023 01:11 AM
Hi @kranthi2 , Sorry got you question wrong this is something reply for the same
As you have used If condition it will exit the loop with the First ever satisfactory condition, That means "INC0010001" is the first record in the loop which satisfies the query condition and terminates the loop.
Please find below image for the same:
Thanks & Regards,
Eswar Chappa
Mark my answer correct and Helpful if this helps you 😀
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:40 AM
Hello @kranthi2 ,
Please change your loop from IF to while which will pick up multiple records from the table
Hope this helps
Mark my answer correct if this helps you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:52 AM
Hi,
I have changed the same what you said and it is working fine.
But my question something different please check the same which is mentioned in my earlier response.
Here my question is why it is not displaying INC0010012/INC0010021/INC0000015/---and so on why it is INC0010001 only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:58 AM
@kranthi2 can you please explain it once again ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:03 AM
Sure.
Please find the attached SS for your reference.
If i execute the above script it is returning the INC0010001
here my question is why INC0010001 will return.
why not some other incidents like INC0010012/INC0010021/INC0000015/---and so on because in my instance i have almost 60 incidents are available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:07 AM - edited 08-17-2023 01:11 AM
Hi @kranthi2 , Sorry got you question wrong this is something reply for the same
As you have used If condition it will exit the loop with the First ever satisfactory condition, That means "INC0010001" is the first record in the loop which satisfies the query condition and terminates the loop.
Please find below image for the same:
Thanks & Regards,
Eswar Chappa
Mark my answer correct and Helpful if this helps you 😀