- Print
- DarkLight
Define Task to change session values
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Define Task to change session values
With a tsk you can change session values with a command, like changing the Company value to value "100". You can change multiple values with one single command.
You do this by creating a task and configure it via type and System, like below where the fields CONO and DIVI (Company and Division) are set:
Type: System
Script: changeSession;CONO=1;DIVI=001
See source example below hot to change CONO to value "1" and DIVI to value "001":
<?xml version="1.0" encoding="UTF-8"?>
<Task id="CMP_001_001" type="system" version="1">
<Properties>
<Property name="command" value="changeSession;CONO=1;DIVI=001"/>
</Properties>
<Description>
<Language id="sv_se" text="Company 001/001 - Produktion"/>
<Language id="en_us" text="Company 001/001 - Production"/>
</Description>
</Task>
Was this article helpful?