PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04/21/2021 2: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
New Member
(7 points)
New Member
Posts:3


Send Message:

--
04/19/2021 10:44 AM

    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
    (1260 points)
    Veteran Member
    Posts:438


    Send Message:

    --
    04/19/2021 11:44 AM
    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
    New Member
    (7 points)
    New Member
    Posts:3


    Send Message:

    --
    04/21/2021 2:53 PM

    I will try that and let you know.

    You are not authorized to post a reply.