PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07/12/2017 8:45 AM by  John Henley
Trigger Process Flow
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
FireGeek21
Private
Private
Veteran Member
(133 points)
Veteran Member
Posts:55


Send Message:

--
07/11/2017 6:57 PM
    Is it possible to trigger a process flow (PFI, Lawson S3 v9) if a file is present in a specific folder?
    John Henley
    Private
    Private
    Senior Member
    (9548 points)
    Senior Member
    Posts:3200


    Send Message:

    --
    07/11/2017 7:14 PM
    Yes, you need to use the ScanFileClient, which is part of the ProcessFlow Integrator (formerly BCI).
    https://www.lawsonguru.com/forums/i...t-example/
    Thanks for using the LawsonGuru.com forums!
    John
    JimY
    Private
    Private
    Veteran Member
    (1055 points)
    Veteran Member
    Posts:377


    Send Message:

    --
    07/12/2017 5:41 AM
    You can also use a file Channel to kick off a flow. We have several flows that are kicked off this way. We are on Landmark 10.1.1.23 in production and 10.1.1.56 in test.
    Dave Curtis
    HRIS Lead
    University of Maryland Medical System
    Veteran Member
    (270 points)
    Veteran Member
    Posts:94


    Send Message:

    --
    07/12/2017 6:10 AM
    John and Jim have the more technically correct way of doing this most likely but I have never used the ScanFileClient or the file Channel (I will be looking into them). However - I do have a number of processes that are run only if a file is present on a specific folder. These are processes that do things like enter new hires into Lawson from our ATS system (only when a file is present to consume off the ATS system), another updates requisitions in Lawson based on a data file from the ATS system. A few of them update deductions in Lawson based on vendor files that are sent periodically, and there are a few others.

    All of these have a specific purpose of picking up a data file and consuming it as data entry of one sort or another into our Lawson system. The first step of all these processes is to first determine if a file is available to consume. If it is not - an email is sent to the applicable team to let them know that a file was not processed.

    The processes use the file access node in process flow/IPA and in some cases it performs "Check file exists", if the file exists the process continues. I also have a couple that kick off other processes based on what file is present on the folder. In that case it uses the "List file" function and pulls a list of files on the folder and based on what files are on the folder it uses a decision node to direct the process to kick off specific things.

    So there are different ways to manage what it sounds like you need to do but yes - it is possible.
    John Henley
    Private
    Private
    Senior Member
    (9548 points)
    Senior Member
    Posts:3200


    Send Message:

    --
    07/12/2017 8:45 AM
    NB. File Channel is for IPA (v10) vs. ScanFileClient is for PFI (v9) -- which is what original poster was asking.
    Thanks for using the LawsonGuru.com forums!
    John
    You are not authorized to post a reply.