VoiceGuide IVR Software Main Page
Jump to content

Share Data To Dialed Out Channel

Recommended Posts

Customer asked:

 

if I store data in variable in caller threat how to share data in variable to dialed out channel?

Share this post


Link to post

Any $RV for any channel can be read from any other channel or an external task.

 

 

eg. Please see the RvGet command: http://www.voiceguide.com/vghelp/source/html/com_rvget.htm :

 

sValue = object.RvGet(iLineId, sRv)

 

the iLineId is used to select from which line the result variable data is to be retrieved from.

 

Other functions to look at also are: RvGet_All and RvGet_AllXml

Share this post


Link to post

Can I use RvGet_All into bridge disconnect module to keep all data for both channels?

 

set vg = CreateObject("vgServices.CommandLink")
vg.Record_Stop $RV[Conf_LineId_1]
vg.Bridge_Disconnect $RV_LINEID, $RV[Conf_LineId_2]
vg.Script_Goto $RV[Conf_LineId_2],"script.vgs|next_module","", ""
vg.Run_ResultReturn $RV_LINEID, "success"
vg.Run_ResultReturn $RV[Conf_LineId_2], "forward"
set vg = Nothing

Share this post


Link to post
Hi,


1.

I understand

set vg = CreateObject("vgServices.CommandLink")

sReturnedData = vg.RvGet_All($RV[Conf_LineId_1]) - source line for data

vg.Run_ResultReturn $RV[Conf_LineId_2], sReturnedData - target line for data

set vg = Nothing



But not all data was transfered to target line. (vgEngine_getAll.zip)



2.

second problem module VBS with getAll should wait until script end but forwarding to next module before transfer data: (vgEngine_VBS_not_wait.zip)

vgEngine_getAll.zip

vgEngine_VBS_not_wait.zip

Share this post


Link to post

The 'getAll' trace shows that the vg.RvGet_All function was called ok, and looks like the data retreived by the vg.RvGet_All was then passed in the parameter to the vg.Run_ResultReturn.

 

the script ran was:

 

set vg = CreateObject("vgServices.CommandLink")
sReturnedData = vg.RvGet_All(4)
vg.Run_ResultReturn 61, sReturnedData
set vg = Nothing

 

and trace shows that what seems to be the all the RVs from line 4 to be set on line 61. So the trace shows all functions behaving as expected.

 

Also, please note that taking all RVs from one channel and setting them all on another channel is not good practice and may lead to other errors. Note that amongst the RVs retrieved are RVs that are channel and call specific, and should not be set on other channels.

 

The approach that should be taken is to retrieve just the RVs that you need on another channel and set those RVs only.

 

A separate thread was started for the separate "module VBS with getAll should wait until script end" question.

 

 

 

084003.422 15 61 21 rem Run_ResultReturn [[$RV_STARTTIME]{2015-12-02 08:39:31}[$RV_DEVICEID]{4}[DlgcVoice]{dxxxB1C2}[DlgcNetwork]{dtiB1T2}[$RV_CIDNAME]{}[DNIS]{221624125}[iSDN_SETUP]{ l ! 224896038p 221624125}[$RV_CIDNUMBER]{224896038}[scriptStart_Time]{2015-12-02 08:39:49}[scriptStart_CalledFrom_Script]{C:\Program Files (x86)\VoiceGuide\Scripts\manager\manager_menu.vgs}[scriptStart_CalledFrom_Module]{projekt_manager}[MOH_file_id]{1111005}[MOH_1]{1111005}[MOH_file_id_1]{1111005}[MOH_1_1]{1111005}[MOH_RowCount]{1}[kolejkowanie_db_opened]{1}[kolejkowanie_db_1]{1}[kolejkowanie_db_opened_1]{1}[kolejkowanie_db_1_1]{1}[kolejkowanie_db_available_targets]{1}[kolejkowanie_db_2]{1}[kolejkowanie_db_available_targets_1]{1}[kolejkowanie_db_2_1]{1}[kolejkowanie_db_wait_time_expiries_in]{175}[kolejkowanie_db_3]{175}[kolejkowanie_db_wait_time_expiries_in_1]{175}[kolejkowanie_db_3_1]{175}[kolejkowanie_db_waiting_room_lenght]{5}[kolejkowanie_db_4]{5}[kolejkowanie_db_waiting_room_lenght_1]{5}[kolejkowanie_db_4_1]{5}[kolejkowanie_db_relative_wait_line]{1}[kolejkowanie_db_5]{1}[kolejkowanie_db_relative_wait_line_1]{1}[kolejkowanie_db_5_1]{1}[kolejkowanie_db_max_con]{1}[kolejkowanie_db_6]{1}[kolejkowanie_db_max_con_1]{1}[kolejkowanie_db_6_1]{1}[kolejkowanie_db_call_start]{2015-12-02 08:39:35}[kolejkowanie_db_7]{2015-12-02 08:39:35}[kolejkowanie_db_call_start_1]{2015-12-02 08:39:35}[kolejkowanie_db_7_1]{2015-12-02 08:39:35}[kolejkowanie_db_RowCount]{1}[insert_call_order_placowka]{3328}[insert_call_order_1]{3328}[insert_call_order_placowka_1]{3328}[insert_call_order_1_1]{3328}[insert_call_order_kolejnosc]{0}[insert_call_order_2]{0}[insert_call_order_kolejnosc_1]{0}[insert_call_order_2_1]{0}[insert_call_order_telefon1]{502131638}[insert_call_order_3]{502131638}[insert_call_order_telefon1_1]{502131638}[insert_call_order_3_1]{502131638}[insert_call_order_nazwa]{Maciej 638}[insert_call_order_4]{Maciej 638}[insert_call_order_nazwa_1]{Maciej 638}[insert_call_order_4_1]{Maciej 638}[insert_call_order_plik]{}[insert_call_order_5]{}[insert_call_order_plik_1]{}[insert_call_order_5_1]{}[insert_call_order_tel1_sms_screening]{0}[insert_call_order_6]{0}[insert_call_order_tel1_sms_screening_1]{0}[insert_call_order_6_1]{0}[insert_call_order_timeout]{30}[insert_call_order_7]{30}[insert_call_order_timeout_1]{30}[insert_call_order_7_1]{30}[insert_call_order_last_call]{2015-12-02 08:27:18}[insert_call_order_8]{2015-12-02 08:27:18}[insert_call_order_last_call_1]{2015-12-02 08:27:18}[insert_call_order_8_1]{2015-12-02 08:27:18}[insert_call_order_foreign_crm_id]{}[insert_call_order_9]{}[insert_call_order_foreign_crm_id_1]{}[insert_call_order_9_1]{}[insert_call_order_RowCount]{1}[Conf_DevName_2]{dtiB1T21}[Conf_LineId_2]{61}[Conf_LineNbr_2]{21}[Transfer Call fa with CALLER ID_DevName_2]{dtiB1T21}[Transfer Call fa with CALLER ID_LineId_2]{61}[Transfer Call fa with CALLER ID_LineNbr_2]{21}[nagranie rozmowy fa_ResultReturn]{success}[switch_disconnect_recorded_call]{1}[disconect and follow other_agent_ResultReturn]{success}] 2993

 

084003.425 7 61 21 rvns add $RV_STARTTIME|2015-12-02 08:39:31
084003.425 7 61 21 rvns add $RV_DEVICEID|4
084003.425 7 61 21 rvns add DlgcVoice|dxxxB1C2
084003.425 7 61 21 rvns add DlgcNetwork|dtiB1T2
084003.425 7 61 21 rvns add $RV_CIDNAME|
084003.425 7 61 21 rvns add DNIS|221624125
084003.425 7 61 21 rvns add ISDN_SETUP| l ! 224896038p 221624125
084003.425 7 61 21 rvns add $RV_CIDNUMBER|224896038
084003.425 7 61 21 rvns add ScriptStart_Time|2015-12-02 08:39:49
084003.425 7 61 21 rvns add ScriptStart_CalledFrom_Script|menu.vgs
084003.426 7 61 21 rvns add ScriptStart_CalledFrom_Module|projekt_manager
084003.426 7 61 21 rvns add MOH_file_id|1111005
084003.426 7 61 21 rvns add MOH_1|1111005
084003.426 7 61 21 rvns add MOH_file_id_1|1111005
084003.426 7 61 21 rvns add MOH_1_1|1111005
084003.426 7 61 21 rvns add MOH_RowCount|1
084003.426 7 61 21 rvns add kolejkowanie_db_opened|1
084003.426 7 61 21 rvns add kolejkowanie_db_1|1
084003.426 7 61 21 rvns add kolejkowanie_db_opened_1|1
084003.426 7 61 21 rvns add kolejkowanie_db_1_1|1
084003.426 7 61 21 rvns add kolejkowanie_db_available_targets|1
084003.426 7 61 21 rvns add kolejkowanie_db_2|1
084003.426 7 61 21 rvns add kolejkowanie_db_available_targets_1|1
084003.426 7 61 21 rvns add kolejkowanie_db_2_1|1
084003.426 7 61 21 rvns add kolejkowanie_db_wait_time_expiries_in|175
084003.426 7 61 21 rvns add kolejkowanie_db_3|175
084003.426 7 61 21 rvns add kolejkowanie_db_wait_time_expiries_in_1|175
084003.427 7 61 21 rvns add kolejkowanie_db_3_1|175
084003.427 7 61 21 rvns add kolejkowanie_db_waiting_room_lenght|5
084003.427 7 61 21 rvns add kolejkowanie_db_4|5
084003.427 7 61 21 rvns add kolejkowanie_db_waiting_room_lenght_1|5
084003.427 7 61 21 rvns add kolejkowanie_db_4_1|5
084003.427 7 61 21 rvns add kolejkowanie_db_relative_wait_line|1
084003.427 7 61 21 rvns add kolejkowanie_db_5|1
084003.427 7 61 21 rvns add kolejkowanie_db_relative_wait_line_1|1
084003.427 7 61 21 rvns add kolejkowanie_db_5_1|1
084003.427 7 61 21 rvns add kolejkowanie_db_max_con|1
084003.427 7 61 21 rvns add kolejkowanie_db_6|1
084003.427 7 61 21 rvns add kolejkowanie_db_max_con_1|1
084003.427 7 61 21 rvns add kolejkowanie_db_6_1|1
084003.427 7 61 21 rvns add kolejkowanie_db_call_start|2015-12-02 08:39:35
084003.427 7 61 21 rvns add kolejkowanie_db_7|2015-12-02 08:39:35
084003.427 7 61 21 rvns add kolejkowanie_db_call_start_1|2015-12-02 08:39:35
084003.428 7 61 21 rvns add kolejkowanie_db_7_1|2015-12-02 08:39:35
084003.428 7 61 21 rvns add kolejkowanie_db_RowCount|1
084003.428 7 61 21 rvns add insert_call_order_placowka|3328
084003.428 7 61 21 rvns add insert_call_order_1|3328
084003.428 7 61 21 rvns add insert_call_order_placowka_1|3328
084003.428 7 61 21 rvns add insert_call_order_1_1|3328
084003.428 7 61 21 rvns add insert_call_order_kolejnosc|0
084003.428 7 61 21 rvns add insert_call_order_2|0
084003.428 7 61 21 rvns add insert_call_order_kolejnosc_1|0
084003.428 7 61 21 rvns add insert_call_order_2_1|0
084003.428 7 61 21 rvns add insert_call_order_telefon1|502131638
084003.428 7 61 21 rvns add insert_call_order_3|502131638
084003.428 7 61 21 rvns add insert_call_order_telefon1_1|502131638
084003.428 7 61 21 rvns add insert_call_order_3_1|502131638
084003.428 7 61 21 rvns add insert_call_order_nazwa|Maciej 638
084003.429 7 61 21 rvns add insert_call_order_4|Maciej 638
084003.429 7 61 21 rvns add insert_call_order_nazwa_1|Maciej 638
084003.429 7 61 21 rvns add insert_call_order_4_1|Maciej 638
084003.429 7 61 21 rvns add insert_call_order_plik|
084003.429 7 61 21 rvns add insert_call_order_5|
084003.429 7 61 21 rvns add insert_call_order_plik_1|
084003.429 7 61 21 rvns add insert_call_order_5_1|
084003.429 7 61 21 rvns add insert_call_order_tel1_sms_screening|0
084003.429 7 61 21 rvns add insert_call_order_6|0
084003.429 7 61 21 rvns add insert_call_order_tel1_sms_screening_1|0
084003.429 7 61 21 rvns add insert_call_order_6_1|0
084003.429 7 61 21 rvns add insert_call_order_timeout|30
084003.429 7 61 21 rvns add insert_call_order_7|30
084003.429 7 61 21 rvns add insert_call_order_timeout_1|30
084003.429 7 61 21 rvns add insert_call_order_7_1|30
084003.429 7 61 21 rvns add insert_call_order_last_call|2015-12-02 08:27:18
084003.430 7 61 21 rvns add insert_call_order_8|2015-12-02 08:27:18
084003.430 7 61 21 rvns add insert_call_order_last_call_1|2015-12-02 08:27:18
084003.430 7 61 21 rvns add insert_call_order_8_1|2015-12-02 08:27:18
084003.430 7 61 21 rvns add insert_call_order_foreign_crm_id|
084003.430 7 61 21 rvns add insert_call_order_9|
084003.430 7 61 21 rvns add insert_call_order_foreign_crm_id_1|
084003.430 7 61 21 rvns add insert_call_order_9_1|
084003.430 7 61 21 rvns add insert_call_order_RowCount|1
084003.430 7 61 21 rvns add Conf_DevName_2|dtiB1T21
084003.430 7 61 21 rvns add Conf_LineId_2|61
084003.430 7 61 21 rvns add Conf_LineNbr_2|21
084003.430 7 61 21 rvns add Transfer Call fa with CALLER ID_DevName_2|dtiB1T21
084003.430 7 61 21 rvns add Transfer Call fa with CALLER ID_LineId_2|61
084003.430 7 61 21 rvns add Transfer Call fa with CALLER ID_LineNbr_2|21
084003.430 7 61 21 rvns add nagranie rozmowy fa_ResultReturn|success
084003.431 7 61 21 rvns add switch_disconnect_recorded_call|1
084003.431 7 61 21 rvns add disconect and follow other_agent_ResultReturn|success

Share this post


Link to post

How I send You vgEngine example in 10th line:

 

084003.351 7 4 2 Eval Expr result:[4] stored in RV[client_lineid]

 

 

this variable was not transferred to 61 line and other variable not listed too.

Share this post


Link to post

For that RV to be one of RVs returned by the RvGet_All function the "save results in log file" box should be ticked in that Evalute Expression module.

 

The RvGet_All function only returns the RVs that are going to be saved in the call log. There are many other RVs that are created during the execution of the script that are not saved in the call log.

 

Also, as advised before, bulk setting of RVs returned by RvGet_All into another channel is not good practice and will lead to errors. The approach that should be taken is to individually retrieve just the RVs that are needed by the other line, and then only set those RVs on the other channel. It would also be good practice to rename them first (or just add a prefix/suffix/etc).

Share this post


Link to post

Sorry, but it not working. I mean ticked "save results in log file" not helped.

 

variable stored in 10th line

091615.910 7 4 2 Eval Expr result:[4] stored in RV[client_lineid]

 

 

 

get data from 4 th line to 61st line:

 

sReturnedData = vg.RvGet($RV[Conf_LineId_1],"RV[client_lineid]")

...

sReturnedData = vg.RvGet(4,"RV[client_lineid]")

 

 

in lines 195-197 :

 

091615.965 7 61 21 rv replace start [$RV[client_lineid]]
091615.965 7 rv dbg rv_retrieve did not find [client_lineid]
091615.965 7 61 21 rv replace end []

vg_Engine_20151203.zip

Share this post


Link to post

The system is currently running this script in the Run VBScript module:

 

set vg = CreateObject("vgServices.CommandLink")
sReturnedData = vg.RvGet($RV[Conf_LineId_1],"RV[client_lineid]")
vg.Run_ResultReturn $RV[Conf_LineId_2], sReturnedData
set vg = Nothing

 

But from rest of trace it looks like you are actually trying to set a $RV[client_lineid]on the line whose ID id stored in $RV[Conf_LineId_2]

because later on in trace we can see:

 

091615.964 7 61 21 state [client_lineid_test] Evaluate [$RV[client_lineid]]

 

 

Please try using this script:

set vg = CreateObject("vgServices.CommandLink")
sReturnedData = vg.RvGet($RV[Conf_LineId_1],"RV[client_lineid]")
vg.Run_ResultReturn $RV[Conf_LineId_2], "[client_lineid]{" & sReturnedData & "}"
set vg = Nothing

 

or this script:

 

set vg = CreateObject("vgServices.CommandLink")
sReturnedData = vg.RvGet($RV[Conf_LineId_1],"RV[client_lineid]")

vg.RvSet($RV[Conf_LineId_2],"client_lineid", sReturnedData)
vg.Run_ResultReturn $RV[Conf_LineId_2], "success"
set vg = Nothing

Share this post


Link to post
Using
set vg = CreateObject("vgServices.CommandLink")
sReturnedData = vg.RvGet($RV[Conf_LineId_1],"RV[client_lineid]")
vg.Run_ResultReturn $RV[Conf_LineId_2], "[client_lineid]{" & sReturnedData & "}"
set vg = Nothing
log file show:
123920.195 14 4 2 runscr RunWait_1 bScriptHasSetNextModule was set. exiting thread.
123920.195 7 61 21 RunModule start Run VB Script, [get_data], iModuleIdx=482, previous: vgm=482, vgs=5:5
123920.195 7 61 21 t timer set 30 sec : EV_TIMEOUT_HANGUP
123920.195 7 61 21 QueueUserWorkItem vbScript : modVbs
123920.195 7 61 21 NewVgsVgm_Goto end
123920.195 4 61 21 task runscr Run_VBS vgm=482, file=, engine=[ClearScriptV8]
123920.195 4 61 21 runscr strIni_moduleRunScript_Engine=ClearScriptV8
123920.195 7 4 2 q_scr run cmdRun_ResultReturn sCode=[] iActionID=0, crn=0 [0|0|0|0|0][success|||||] 00:00:00.0010001 max:2|00:00:00.0130007
123920.195 4 61 21 state [get_data] RunScript vbs, onhold=
123920.195 7 4 2 rv add disconect and follow other_agent_ResultReturn|success
123920.195 4 61 21 rv replace start
------------------------------
set vg = CreateObject("vgServices.CommandLink")
sReturnedData = vg.RvGet($RV[Conf_LineId_1],"RV[client_lineid]")
vg.Run_ResultReturn $RV[Conf_LineId_2], "[client_lineid]{" & sReturnedData & "}"
set vg = Nothing
------------------------------
123920.195 4 61 21 rv replace end [set vg = CreateObject("vgServices.CommandLink")
sReturnedData = vg.RvGet(4,"RV[client_lineid]")
vg.Run_ResultReturn 61, "[client_lineid]{" & sReturnedData & "}"
set vg = Nothing]
123920.195 7 4 2 path {success} found (at offset 3)
123920.195 4 61 21 not saving script (strIni_moduleRunScript_SaveToFile is False|0)
123920.195 7 4 2 FindNextVgmTitleInPathList: next module title is=[client_waiting_for_redirection]
123920.195 4 61 21 runscr waiting. wait=1
123920.195 4 61 21 moh file not specified
123920.195 4 61 21 runscr call ClearScript Execute
123920.195 4 61 21 runscr new VBScriptEngine call
123920.195 7 4 2 module's runwait=1, WavPlayWasStarted=0, WavPlayHasNowFinished=0, iRunWait_ExeResult_NextVgm=471
123920.196 7 4 2 moh not stopping play, bDoNotStopMoh==true
123920.196 7 4 2 t timer clear (force=False)
123920.196 7 4 2 RunModule start Play, [client_waiting_for_redirection], iModuleIdx=471, previous: vgm=470, vgs=5:5
123920.196 7 4 2 [client_waiting_for_redirection] VGMTYPE_PLAY run start
123920.196 7 4 2 rvns add client_waiting_for_redirection_LastPos|0
123920.196 7 4 2 rvns add client_waiting_for_redirection_ReplayCount|0
123920.196 7 4 2 PrepareAndPlayWavAndTts start iModuleIdx=471, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs=
123920.196 7 4 2 rv replace start [$RV[MusicOnWait]]
123920.196 4 61 21 runscr .Execute call
123920.196 7 4 2 rv replace end [manager20\1111005.wav]
123920.196 7 4 2 PrepareAndPlayWavAndTTS sPlayFile=manager20\1111005.wav
123920.196 7 4 2 state [client_waiting_for_redirection] Playing wav (manager20\1111005.wav)
123920.196 7 4 2 FindSoundFile start [manager20\1111005.wav]
123920.196 7 4 2 File not found [manager20\1111005.wav], DirSysVoice=[C:\Program Files (x86)\VoiceGuide\System\voice_LEKTOR\]
123920.196 7 4 2 t timer clear (force=False)
123920.196 7 4 2 strPlayFileList.Contains('SoundFileNotFound.wav') - take path SoundFileNotFound if present
123920.196 7 4 2 path {SoundFileNotFound} not found
123920.196 7 4 2 q_tel + cmd_PlayStart 860125 ,C:\Program Files (x86)\VoiceGuide\System\voice_LEKTOR\SoundFileNotFound.wav []
123920.196 7 4 2 play start ok, playId=860125
123920.196 8 4 2 q_tel run cmd_PlayStart 0 00:00:00 max:1|00:00:00.0090005
123920.196 7 61 21 q_scr run cmdRun_ResultReturn sCode=[] iActionID=0, crn=0 [0|0|0|0|0][forward|||||] 00:00:00.0020001 max:2|00:00:00.0130007
123920.196 7 61 21 rv add get_data_ResultReturn|forward
123920.197 17 rem remoting link constructor activated: vgServices_CommandLink
123920.197 7 61 21 path {forward} found (at offset 3)
123920.197 8 4 2 ev PlayEnd 4 860125 [bytes_played:0:0, bytes_in_file0]
123920.197 7 61 21 FindNextVgmTitleInPathList: next module title is=[caller_lineid]
123920.197 8 4 2 play end id=860125 (current id)
123920.197 7 61 21 module's runwait=1, WavPlayWasStarted=0, WavPlayHasNowFinished=0, iRunWait_ExeResult_NextVgm=483
123920.197 8 4 2 rvns add client_waiting_for_redirection_SoundFileLength|0
123920.197 7 61 21 t timer clear (force=False)
123920.197 7 61 21 RunModule start Evaluate, [caller_lineid], iModuleIdx=483, previous: vgm=482, vgs=5:5
123920.197 7 61 21 state [caller_lineid] Evaluate [$RV[Conf_LineId_1]]
123920.197 8 4 2 q_scr + evScriptEvent 8001 EV_PLAY_FINISHED
123920.197 7 61 21 rv replace start [$RV[Conf_LineId_1]]
123920.197 7 61 21 rv replace end [4]
123920.197 7 61 21 eval [4]
123920.197 17 4 2 rem RvGet RV[client_lineid]
123920.198 17 4 2 rv replace start [$RV[client_lineid]]
123920.198 17 4 2 rv replace end [4]
123920.198 7 61 21 eval CreateInstance returned
123920.198 7 61 21 eval InvokeMember Eval returned
123920.198 7 61 21 rvns add caller_lineid_Input|4
123920.198 7 61 21 rvns add caller_lineid|4
123920.198 7 61 21 creating new (non-global) rv : caller_lineid
123920.198 7 61 21 rvns add caller_lineid|4
123920.198 7 61 21 Eval Expr result:[4] stored in RV[caller_lineid]
123920.198 7 61 21 path {4} not found
123920.198 17 61 21 rem Run_ResultReturn [[client_lineid]{4}] 18
123920.198 17 61 21 q_scr + cmdRun_ResultReturn 0
123920.198 7 61 21 matching path not found [4], try boolean paths.
123920.199 7 61 21 ex: ScriptIo.VGMTYPE_EVALEXPR [4] could not be converted to boolean. Take Success path as string non-empty.
123920.199 4 61 21 engineVbs dispose call
123920.199 7 61 21 FindNextVgmTitleInPathList: next module title is=[client_lineid_test]
123920.199 4 61 21 runscr .Execute returned. iRunWait=1
123920.199 7 61 21 matching path found (Boolean True)
123920.199 7 61 21 t timer clear (force=False)
123920.199 7 61 21 RunModule start Evaluate, [client_lineid_test], iModuleIdx=484, previous: vgm=483, vgs=5:5
123920.199 7 61 21 state [client_lineid_test] Evaluate [$RV[client_lineid]]
123920.199 7 61 21 rv replace start [$RV[client_lineid]]
123920.199 7 rv dbg rv_retrieve did not find [client_lineid]
123920.199 7 61 21 rv replace end []
123920.199 7 61 21 eval []
123920.199 4 61 21 runscr RunWait_1 script completed
123920.199 4 61 21 runscr sModuleClearScriptProcessWasCalledFrom is current module get_data, clearing setting
123920.199 4 61 21 runscr RunWait_1 exiting thread as iVgmIdx=484 iModuleIdx=482
123920.199 7 61 21 objReturn is NULL for input=[], try with Cstr
123920.199 7 61 21 eval InvokeMember Eval returned
123920.199 7 61 21 rvns add client_lineid_test_Input|
123920.199 7 61 21 rvns add client_lineid_test|
123920.199 7 61 21 creating new (non-global) rv : test
123920.199 7 61 21 rvns add test|
123920.199 7 61 21 Eval Expr result:[] stored in RV[test]
it looks like VBscript module not waiting until end of VBscript execution and forwarding immediately to next module.

Share this post


Link to post

Looks like modifying the VBScript in the way that we advised now results in data being shared with another channel successfully.

 

 

The other issue that you mention is being caused by the callflow using multiple 'Run VBScript' modules one after another on the same line without waiting for each ran script to complete first, and then the scripts ran by these 'Run VBScript' modules are interfering with one another. There is already another thread that has been made on that topic and questions/comments on that topic are best posted in that other thread.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×