I've gotten spoiled using Global vars,
and I wanted a process to run off scheduler and it throws errors.
Seems to not have a SessionVars object available.
Since I know when a scheduler task is running (the AccessLevel = 'system'), I wonder if I can manually CREATE this NP object?
Does a Scheduler task NOT have access to the SessionVars BO?
Does a Scheduler task NOT have access to the SessionVars BO?
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 1460
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Does a Scheduler task NOT have access to the SessionVars BO?
Session variables are non persisted objects tied to a specific user.
I’d reckon that you’d be better to create a non persisted BO at the start of the process or place your data into the system settings
I’d reckon that you’d be better to create a non persisted BO at the start of the process or place your data into the system settings