Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Global variable for background job

Forum

Search UsersRules
Global variable for background job
#1
Active user
Points:: 0
Joined:: Mar 29, 2016

I want to run the background task. Session parameters in the background does not work. I need a global variable to me. Can you help?

Profile
#2
Active user
Points:: 0
Joined:: Apr 18, 2012

Hi.

Can you explain why session parameters don't work in the background tasks? I use them successfully.

Profile
#3
Guest
Points::
Joined::

Hello, Hüseyin Çağrı Bayraktar!

You can pass a parameter into the background job and store the result of processing in one of metadata objects, for example in the information register.
You can also pass a temporary storage address into the background job, fill it inside the job, and then get the result from the temporary storage.

Would you please explain in more details what do you want to do?

Profile
#4
Active user
Points:: 0
Joined:: Mar 29, 2016

Dear Timofey,

My process is very complicated. I want use that global variable for out of loop. So, if use information register will generate a lot of traffic between the server and the database. Do you have another solution?

Thank you for replying.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.