4 Replies Latest reply on Mar 17, 2017 12:33 AM by duang RSS
    duang Apprentice

    How to delete entries from a value stream

    I have a value stream and I would like to clear out the entries from the value stream.

     

    I have tried using the purge option, but it simply does nothing as far as I can tell, even with the immediate option enabled.

     

    Can someone please shed some light on the matter?

      • Re: How to delete entries from a value stream
        polinao Collaborator

        Could you please clarify what you mean by "does nothing"? If you have a value stream assigned to a thing, then you may run the PurgeAllPropertyHistory service from that thing, and your value stream will clear out.

        • Re: How to delete entries from a value stream
          Ankit Gupta Ninja

          Duan Gauche, Value Stream is also a Thing with Parent as Value Stream Thing Template but we do not have access to the Value Stream entries from the Value Stream Thing. The Services for Value Stream are accessible only via Things using that Value Stream Thing.

          So, as Polina mentioned; we need to run the service PurgeAllPropertyHistory, PurgePropertyHistory, PurgeSelectedPropertyHistory from the Thing using the ValueStream Thing i.e. The Things where the Value Stream Property is set as our Value Stream Thing.

           

          If you are running the Service from the Thing using the ValueStream and it still does not work; I would suggest you to check Script/Application logs if it shows any error.

          • Re: How to delete entries from a value stream
            anna Creator

            Hi Gauche,

            When you call service PurgeAllPropertyHistory to remove all the data entried from a Thing using the Value Stream, make sure you also select the startDate and endDate, and also make sure the startDate is on the bottom and endDate is on the top, please not choose it wrongly and then execute it to see if data entries could be removed.