Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
Queued Jobs flow
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Lisa Powell
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
5163
People Online:
Visitors:
297
Members:
1
Total:
298
Online Now:
KatyW
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
IPA/ProcessFlow
Queued Jobs flow
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
TBonney
Veteran Member
Posts: 277
8/20/2010 5:41 PM
I am trying to set up a flow to generate an email to advise of the jobs in needs recovery status by doing a rngdbdump, like the one referenced in the "Tips & Tricks" section.
Has anyone done this as suggested by John?
If so, please advise which nodes I would use and how I woudl write the command syntax to be executed. The article John provides in Tips & Tricks suggest a great usage of process flow. However, unfortunately, my lack of familiarity and experience with P-Flow renders the details provided in the article lacking.
Thanks for any advice you can provide!
(We're on 9.0.0.7 environment & apps, Windows platform, use 9.0 Security and Process Flow Integrator.)
David Williams
Veteran Member
Posts: 1127
8/24/2010 3:12 PM
You can create a flow that queries the QUEUEDJOB table in the GEN productline for the status codes you want.
// PROD=GEN&FILE=QUEUEDJOB&FIELD=JOBNAME;USERNAME;STATUS;STOPDATE&SELECT=STATUS=34%7CSTATUS=35&OUT=CSV&DELIM=~
Then have your flow send an email to the email address associated to the user name (ResourceQuery to get email out of Lawson Security set up).
TBonney
Veteran Member
Posts: 277
8/24/2010 5:25 PM
Thanks David.
When I try to build my query and select the GEn database, it shows 4 tables, but none of them is the QUEUEDJOB table and none of them display any fields when I choose them. (They are CS, IS, LA and UN.)
So I copied your text above and tried it with that, but for some reason, in spite of the criteria limiting it to status 33 & 34, I am getting status 63 (completed) jobs in my return results. Any ideas why this might be?
David Williams
Veteran Member
Posts: 1127
8/24/2010 5:45 PM
Off the top of my head, no. Can you send me your flow and I'll look at it?
David@ConsutlDavidW.com
TBonney
Veteran Member
Posts: 277
8/24/2010 7:07 PM
Thanks David.
I appreciate your willingness to look at this for me. Attached is the version of the flow that I run on our test server, which still returns statuses other than those defined in the query node.
I am also attaching one of the output files (for status 34 query) so you can see that statuses other than the one indicated within the flow itself are included in the output that is built (33 and 63) .
Thank you for any light you can shed. I appreciate it!
Attachments
JobQuePflow.zip
David Williams
Veteran Member
Posts: 1127
8/24/2010 7:20 PM
This is going to seem crazy but change your select criteria to:
&SELECT=PRODUCTLINE=DEV%26STATUS=31 instead of using the & symbol
David Williams
Veteran Member
Posts: 1127
8/24/2010 7:21 PM
You should also be able to reference the // <!appProdline> variable instead of hard coding DEV
You are not authorized to post a reply.