Read more than 100 Transactions | Get Queue Item Activity | Retrieve all items from queue | UiPath

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 39

  • @pawankumar-xg4bu
    @pawankumar-xg4bu 6 месяцев назад +1

    Super. I noticed this limitation during the day of Prod deployment. This video saved me as I was able to fix it within 30 mins :)

  • @SIDDTHEEXPLORER
    @SIDDTHEEXPLORER Год назад +1

    Is there any way to merge outputs of get queue item?

    • @MukeshKala
      @MukeshKala  Год назад

      No need to Merge - Its already a Collection.

  • @rasipogulabhaskar9858
    @rasipogulabhaskar9858 2 года назад +2

    thank you so much for sharing knowledge

  • @DeepakSoni-dc6pp
    @DeepakSoni-dc6pp Год назад +1

    This is just awesome!!!!!!!!!

  • @kunalthakor1679
    @kunalthakor1679 2 года назад +1

    Hi Mukesh, thanks for the logic and detailed explanation of this use case but I am still running into an issue with this logic. You mentioned in the comment section that we can do whatever we needed there. My use case is generating an audit log report of the new queue items from the queue. After getting the first 100 queue items, I loop through all of them, do a get transaction on a particular queue item, add specific content values to a data table, and then set the transaction status as successful. But when the BOT goes to get queue items a second time in the do while loop and gets all the new items it's skipping the remaining new items which cause items to stay in the new state in the queue. Any thoughts on this? Any help will be appriciated.

    • @MukeshKala
      @MukeshKala  2 года назад

      1. Check After the set Transaction status the Item status are updating properly.
      2. In get Transaction - validate the Filter that what are you reading
      3. Create a new queue with only 5 Items and Run the automation in debug mode to see whats Happening.

  • @sureshv6064
    @sureshv6064 2 года назад

    Explanation superb. I never heard this so

  • @santoshmore210
    @santoshmore210 Год назад +1

    hey mukesh...Thanks for this good video.....i tried it but my bot running in the infinite loop? What can i do

    • @MukeshKala
      @MukeshKala  Год назад +1

      Your while loop is not terminating … check the condition you have mentioned is correct or not and the variable scope are proper

  • @rohittiwari7019
    @rohittiwari7019 Год назад +1

    You are super se bhi uper😜

  • @JoshJames-ov4yd
    @JoshJames-ov4yd Год назад +1

    Hello - How do I output the final number (total) outside of this loop? Once it breaks out, I only get the last number that was stored. Thanks.

    • @MukeshKala
      @MukeshKala  Год назад +3

      1. Create a new Integer variable called Total .
      2. Assign the Default value to 0
      3.. After the getQueueueItem - Take a Assign activity and Count the No.of Items (say- Items)
      4. Total = Total + Items
      3. The scope of the Total Variable should be to the complete flow
      4. After the Loop end - simply print total - It will have the number

    • @JoshJames-ov4yd
      @JoshJames-ov4yd Год назад

      @@MukeshKala That worked perfectly, thank you so much!

  • @iloveyourstatus3929
    @iloveyourstatus3929 Год назад +1

    ❤❤❤❤❤ its good Explenation 🍹🍹

  • @DineshKumar-nx3du
    @DineshKumar-nx3du 2 года назад +2

    What happens if there are exactly 400 items in my queue? 4 iterations are done and 5th iteration starts with Skip=400 and bot tries to execute get queue item

    • @MukeshKala
      @MukeshKala  2 года назад +2

      It will read nothing and stop the loop as the queue item count condition would fail..
      I would suggest create a automation with this scenario and run .. you would understand

  • @ramakrishnadokina5014
    @ramakrishnadokina5014 Год назад +1

    Could you please explain how to debug the following error --> "Bulk Add Queue Items: bulkAddQueueItemsParameters must not be null Error code: 0"

    • @MukeshKala
      @MukeshKala  Год назад +1

      This simply means that there are some parameters which are not getting satisfies
      Check the folder name , queue name , before adding the data , check the data in the locals panel
      Make sure the headers in the dataTable does not have any special characters… even if you have a dot in header .. remove that

  • @sureshv6064
    @sureshv6064 2 года назад +1

    How get vandordata. Xlsx file. Can we create or download any where else

    • @MukeshKala
      @MukeshKala  2 года назад

      Please drop me a note on mail I’d available in description and I can forward the excel and the code

  • @dhirendraswain4554
    @dhirendraswain4554 Месяц назад +1

    Thanks

  • @Amit4u4365day
    @Amit4u4365day 8 месяцев назад +1

    what if we have 400 items, after skip 400 it will throw an error

    • @MukeshKala
      @MukeshKala  8 месяцев назад

      No it won’t , it will stop once all items are processed

    • @Amit4u4365day
      @Amit4u4365day 8 месяцев назад

      @@MukeshKala when the bot will go to pickup next queue item at that time there was no item available as per condition [ skip - 400 , get again - 100 item ]

  • @mariraja6488
    @mariraja6488 Год назад +1

    To get 1000 queueitem , where should i do change ?

    • @MukeshKala
      @MukeshKala  Год назад

      Nothing , as it is it would work

    • @mariraja6488
      @mariraja6488 Год назад

      @@MukeshKala where can we store 1000... Get queue item can store only 100 items i believe

  • @rajurec2721
    @rajurec2721 2 года назад +1

    Excellent but where your storing queueitems

    • @MukeshKala
      @MukeshKala  2 года назад +2

      Transactions are stored in Queue - we Read the Details from the Queue and Process It - So we just Process It - NO need to Store them as they are already available in Orchestrator . .

  • @ganeshdhane2574
    @ganeshdhane2574 Год назад +1

    how to get random item from queue ?

    • @MukeshKala
      @MukeshKala  Год назад

      You have unique reference in queue so when fetching the data I can have a logic which says generate the random unique reference and pass that unique reference to get the items