Can a ProcessFlow submit a job

 2 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Joe Haveman
Advanced Member
Posts: 31
Advanced Member
    I'm working with a flow where we are loading the BL98.1 and BL98.2 from an external source using JDBC.  Afterwhich, I need to submit a predefined BL520 then BL122 then BL123 then GL190.

    Does any know how to SUBMIT a job using ProcessFlow?  I am using the Transaction object.  It has the Add and Change buttons (along with the others), but it doesn't have the SUBMIT button.

    Is there a different way to submit a job using PFI?

    Thanks!

    Joe
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      You can update or add your job with the AGS call and then run it with the WebRun node.
      The Web program = cgi-lawson/jobrun.exe
      The Post String (example) = FUNC=RUN&USER=dwilliams1&JOB=PO520DW&OUT=XML&WAIT=TRUE

      David Williams
      Joe Haveman
      Advanced Member
      Posts: 31
      Advanced Member
        Great idea!  Thanks.  I'm going to get with the business in the morning. 

        Question, how do different environments work with this?  We have PROD, STAGING, DEV, etc.

        Is the user/job unique across environments?  Or, does the IOS Host for the web run imply a specific environment?  I think we actually have two different DataAreas on the same IOS Host.  How would you specify the DataArea, if you can?

        Thanks,

        Joe