cancel
Showing results for 
Search instead for 
Did you mean: 

Data Item

venkatk
Level 2
Iam using Data item in a loop and the data item has some values.But i need the data item value to be empty before the next iteration starts in a loop.

Howz it possible.

------------------------------
venkat k
------------------------------
2 REPLIES 2

Hi Venkat,

What is the type of the data item? Are you using a loop stage with collections? If so, defined or undefined? 
For text, you could use a calculation stage to store a null value to the data item.

------------------------------
Patrick Aucoin
Senior Product Consultant
Blue Prism
------------------------------

John__Carter
Staff
Staff
Option 1: use a calc at the start of each iteration to reset the data item to a default value
Option 2: make the data item global and position it on another page. Call the page on each iteration so that 'reset to initial value' is triggered.
Option 3: move all the logic from within the loop to another page, leaving the loop start and loop end on the original page. Each iteration will trigger 'reset to initial value'.

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------