Digital Exchange

last person joined: an hour ago 

This community is a place to discuss the Blue Prism DX and all of the assets hosted there.
Expand all | Collapse all

Data Item

  • 1.  Data Item

    Posted 09-10-2020 14:35
    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.  RE: Data Item

    Posted 09-10-2020 16:58
    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
    ------------------------------



  • 3.  RE: Data Item

    Posted 09-11-2020 03:54
    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
    ------------------------------