Terminating Pflow after a certain amount of time

 2 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Debra
Basic Member
Posts: 5
Basic Member

    We have a flow that looks for a file and then does various things to it.  We need to figure out a way to stop the flow/work unit created if it is unsuccessful after 4 days.  Is there a way to do this in either the flow or the schedule?  I haven't been able to find something that will work.  Thanks for your help!

    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member
      You could have another flow, that runs daily, checks for active WorkUnits filtered for a certain Process, check if start_date is > 4 days and do a LM Transaction to cancel the WU
      Debra
      Basic Member
      Posts: 5
      Basic Member

        I will try that and let you know.