Need Help With input dialogue box and counter

Hi,
I have an excel file as an input and i am not able to create a logic for taking input values from user to tell the Bot how many accounts the bot needs to process.

For example :- if I have 100 records in the excel file the user will tell the bot that it only needs to process 10 accounts today and then the bot should stop when it’s processed 10 accounts

@Shadab_Baid

There is any Specific condition for Accounts Processing.
Example->

  • today Accounts
  • Account older than month.

Hey!
No There’s no such conditions

@Shadab_Baid

Set the index variable in for each property and apply check->
if index.equals(10)
Break .

in for each loop there property called maximum iterations there you can pass the integer that count of account so it will process only given input

Hey!

Try this way:

  1. Take one input dialogue and create one intUserInput variable - Type(Integer)
  2. Read range - Output as - Dt
  3. Take one assign activity and create one intcounter variable - Type(Integer)
Assign intCounter = 0
  1. Take one while loop and pass the condition like this
    IntCounter<=intUserInput
  2. Take one for eachRow in data table activity pass the Dt
  3. Take one assign acrivity after for each row
intCounter = intCounter+1

Regards,
NaNi

try this solution

Sequence1.xaml (7.3 KB)

hey

As we discussed , I hope your has been resolved

Thanks
Rounak

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.