infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
Update LBI back office job with process flow
unknown
Our controller manually updates the date to last period and submits about 50 jobs that are picked up by LBI each month. We would like to use process flow to automate this.
When I use jobrun.exe with the query string FUNC=run&USER=&JOB=&OUT=XML the job runs. However, the report comes out owned by lawson instead of the user designated in the USER paramater. I see the report in the lawson print manager, not the job owner's print manager.
bldxffiles doesn't appear to pick up the report to send to LBI since the report owner and job owner are different.
Has anybody tried to do this?
Find more posts tagged with
Infor Lawson Technology Group - Discussion
Comments
unknown
Hi Nathanasmith - we've run into the same issue. Rather than trying to call another user's jobs, what we've done is create a service account specifically for this purpose with very limited access to the reports it needs to run. That account then "owns" the job and has access to all the reports just like a regular user does. It eliminates the issues caused by running another user's job. The jobs do end up in the Service Account's print manager, but that hasn't been an issue for us.
Good Luck!
0712131256598360.doc
jreese
You can also create a distribution group to place the report in multiple print managers. Like Kelly, we also use service accounts to run all automated reports so we don't have to worry about reports not being produced if someone leaves the company.
productmodeling
Does the actual report output file (.prt) come out in LAWDIR/print/lawson/jobname/jobstep or LAWDIR/print/jobowner/jobname/jobstep? You could change the LBI data source to query the actual path where the output file is. The alternative may be to change the flow to use the SysCmd node and run a jqsubmit/wtsubmit as needed so that the job submits as the job owner and the output follows suit.
unknown
Thank you for the excellent suggestions. We ended up configuring the reports to distribute to a distribution list that consisted of the job owner.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions