infor.com
concierge
infor u
developer portal
Home
Groups
Lawson - Technology Customer Community [READ ONLY]
Update LBI back office job with process flow
Legacy Contributor
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
Comments
Legacy Contributor
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.
Legacy Contributor
Thank you for the excellent suggestions. We ended up configuring the reports to distribute to a distribution list that consisted of the job owner.
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
API Usage
FAQs, How-To, and Best Practices