Could I know for my case how to allow my variable (PaymentMethod) to store all the possible input options array (selectedItems: Cash, BankTransfer and Cheque)?
The loop in the following picture allows me to have more than one possible payment method, just depends on my selection (perhaps 1, 2 or 3). However, the variable could only save the last payment method that I have selected. Are there any other ways for me to save all the answers in one single variable to rely on for the Filter DataTable activity afterwards?
Based on my understanding, initialize an array variable and store the values by appending them into the array variable.
Then, as @Robinnavinraj_S said, use that variable in the Input options array field.
Many thanks for your warm reply, but it is not the solution.
My robot actually included both array and list variable as you have mentioned while simply using input dialog to display multiple choices are not applicable in my case, because I might have to choose more than one answer in each run. However, using the current activities, the variable could only save the last answer that I have selected…
I am using this approach actually but the variable still only shows the last payment method that I have chosen only. For example, If I choose Cash for the first time and choose BankTransfer between the remaining two options for the second time, the variable could only store the value of BankTransfer as a result.
May I know the “Currentvalue” is a new variable that I should create or is it another existing variable? As the system said it is not declared. Thanks!