Using ProcessFlow for 'Job in Recovery' Notifications

 9 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
John Henley
Send Private Message
Posts: 3351

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
Deleted User
New Member Send Private Message
Posts: 0
New Member
John What do the properties of the 'System Command Activity Node' look like in this PF PFIntegrator-MUG-JobsInRecovery.pdf
John Henley
Send Private Message
Posts: 3351
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 Send Private Message
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 Send Private Message
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 Send Private Message
Posts: 20
Basic Member
David

how do you gain access to the GEN product line?

Joe
David Williams
Veteran Member Send Private Message
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
Send Private Message
Posts: 3351
Thanks David, that is correct. =
Thanks for using the LawsonGuru.com forums!
John
JoeS
Basic Member Send Private Message
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
Deleted User
New Member Send Private Message
Posts: 0
New Member
You would have to add the NT user ID to your LDAP schema.