Using ProcessFlow for 'Job in Recovery' Notifications

 9 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
John Henley
Posts: 3353

    Here is a technique I recommend for notifying sys admins of jobs in recovery.

    Read Using ProcessFlow for 'Job in Recovery' Notifications.

    Thanks for using the LawsonGuru.com forums!
    John
    Eric Kline
    Basic Member
    Posts: 4
    Basic Member
      John What do the properties of the 'System Command Activity Node' look like in this PF PFIntegrator-MUG-JobsInRecovery.pdf
      John Henley
      Posts: 3353
        It calls windows scripting host (wscript) to run a vbscript that submits an event to the server's (windows) event log.
        Thanks for using the LawsonGuru.com forums!
        John
        JoeS
        Basic Member
        Posts: 20
        Basic Member
          John, do you need to use Lawson Security as opposed to LAUA to be able to create this flow?

          Joe
          David Williams
          Veteran Member
          Posts: 1127
          Veteran Member
            I've done a similar process doing a DME Query against the GEN product line QUEUEDJOB table looking for the status codes 34 (Needs Recovery) or 35 (Invalid Parameters).

            PROD=GEN&FILE=QUEUEDJOB&FIELD=JOBNAME;USERNAME;STATUS;STOPDATE&SELECT=STATUS=34%7CSTATUS=35&OUT=CSV&DELIM=~
            David Williams
            JoeS
            Basic Member
            Posts: 20
            Basic Member
              David

              how do you gain access to the GEN product line?

              Joe
              David Williams
              Veteran Member
              Posts: 1127
              Veteran Member
                If you're running this via the ProcessFlow Scheduler then it will be run by the user defined in your pfserv config file (usually 'lawson'). That user will need security rights to GEN. Your lawson user should be set up for Check LS = N in Lawson Security Admin and rights granted in laua.
                David Williams
                John Henley
                Posts: 3353
                  Thanks David, that is correct. =
                  Thanks for using the LawsonGuru.com forums!
                  John
                  JoeS
                  Basic Member
                  Posts: 20
                  Basic Member
                    One other question, is there a way to return the name that is associated with the NT user? (Windows platform)

                    Thanks,
                    Joe
                    Gary Davies
                    Veteran Member
                    Posts: 248
                    Veteran Member
                      You would have to add the NT user ID to your LDAP schema.