PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 4/21/2021 6:53 PM by  Debra
Terminating Pflow after a certain amount of time
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Debra
ERP Analyst
Private
Basic Member
(11 points)
Basic Member
Posts:5


Send Message:

--
4/19/2021 2:44 PM

    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
    Private
    Private
    Veteran Member
    (1294 points)
    Veteran Member
    Posts:450


    Send Message:

    --
    4/19/2021 3:44 PM
    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
    ERP Analyst
    Private
    Basic Member
    (11 points)
    Basic Member
    Posts:5


    Send Message:

    --
    4/21/2021 6:53 PM

    I will try that and let you know.

    You are not authorized to post a reply.