Dear,
I receive an out of memory message. What can I do about it?
It is in a flow to create a XML-File and the input-File is big.
Out of memory message
-
- Posts: 19
- Joined: Mon Oct 28, 2019 12:38 pm
Re: Out of memory message
File contains 10482 rows (1.556 kn)
-
- Posts: 19
- Joined: Mon Oct 28, 2019 12:38 pm
Re: Out of memory message
Hi Oleg,
any idea for a solution?
regards,
Ivan
any idea for a solution?
regards,
Ivan
Re: Out of memory message
Maybe it's possible to optimize your task
But I want to see the task and the files used
Send them to me please, by email, if possible: oleg@robotask.com
But I want to see the task and the files used
Send them to me please, by email, if possible: oleg@robotask.com
Oleg Yershov
-
- Posts: 19
- Joined: Mon Oct 28, 2019 12:38 pm
Re: Out of memory message
Dear Oleg,
Files sent.
regards,
Ivan
Files sent.
regards,
Ivan
Re: Out of memory message
I'm sorry. I think that your algorithm is incorrect at all.
XML file size will grow exponentially and you will get "Out of memory" inevitably
I made some changes in the task and test it now
XML file size will grow exponentially and you will get "Out of memory" inevitably
I made some changes in the task and test it now
Oleg Yershov
-
- Posts: 19
- Joined: Mon Oct 28, 2019 12:38 pm
Re: Out of memory message
Dear,
already some thoughts?
regards,
Ivan
already some thoughts?
regards,
Ivan
Re: Out of memory message
I have sent the corrected task to you at 2021-05-11
Have you received it? check spam folder please
below the task. It works with your file you sent (1.5M and 10K lines)
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
My answer earlier:
It created XML file (10578 lines size 1656K) without errors
I wrote some comments in the task. Let me know if you need any explanation
Have you received it? check spam folder please
below the task. It works with your file you sent (1.5M and 10K lines)
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
My answer earlier:
I tested my task (see below)I think that you are using incorrect algorithm at all.
I tried to build XML for first 100 lines (see attachment)
I think It's doesn't correspond to your text file (analyze it carefully). You added "AuxiliarCtas:Cuenta" nodes to XML at each iteration. This is incorrect.
Therefore I get 1000 lines XML text from first 100 lines of source text. No wonder you got an error "Out of memory"
I'll try to correct your algorithm
It created XML file (10578 lines size 1656K) without errors
I wrote some comments in the task. Let me know if you need any explanation
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|1163085779
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task1371"
Hide=INTEGER|0
ID=INTEGER|2103539701
LogOnAsUser=INTEGER|1
Name=STRING|"text XML ""out of memory"""
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action10=FOLDER
Action11=FOLDER
Action12=FOLDER
Action13=FOLDER
Action14=FOLDER
Action15=FOLDER
Action16=FOLDER
Action17=FOLDER
Action18=FOLDER
Action19=FOLDER
Action2=FOLDER
Action20=FOLDER
Action21=FOLDER
Action22=FOLDER
Action23=FOLDER
Action24=FOLDER
Action25=FOLDER
Action26=FOLDER
Action27=FOLDER
Action28=FOLDER
Action29=FOLDER
Action3=FOLDER
Action30=FOLDER
Action31=FOLDER
Action32=FOLDER
Action33=FOLDER
Action34=FOLDER
Action35=FOLDER
Action36=FOLDER
Action37=FOLDER
Action38=FOLDER
Action39=FOLDER
Action4=FOLDER
Action40=FOLDER
Action41=FOLDER
Action42=FOLDER
Action43=FOLDER
Action44=FOLDER
Action45=FOLDER
Action46=FOLDER
Action47=FOLDER
Action48=FOLDER
Action49=FOLDER
Action5=FOLDER
Action50=FOLDER
Action51=FOLDER
Action52=FOLDER
Action53=FOLDER
Action54=FOLDER
Action55=FOLDER
Action56=FOLDER
Action57=FOLDER
Action58=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""LITFILNAME1"" with value ""C:\temp\xml\MX_AUXILIARCTAS_D20210504_T070015.TXT"""
Params=FOLDER
[Actions\Action1\Params]
expand=STRING|"0"
varname=STRING|"LITFILNAME1"
varvalue=STRING|"C:\temp\xml\MX_AUXILIARCTAS_D20210504_T070015.TXT"
[Actions\Action10]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action10\Params]
amount=STRING|"12"
from=STRING|"1"
source=STRING|"{STRORG}"
variable=STRING|"STRFIRST"
[Actions\Action11]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then"
Params=FOLDER
[Actions\Action11\Params]
case=STRING|"0"
connection=STRING|"0"
count=STRING|"1"
operator=STRING|"0"
type=STRING|"0"
value1=STRING|"{STRFIRST}"
value2=STRING|"AUXILIARCTAS"
[Actions\Action12]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|0
Name=STRING|"Show ""1ste niveau: {STRFIRST}"""
Params=FOLDER
[Actions\Action12\Params]
icon=STRING|"1"
msg0=STRING|"1ste niveau: {STRFIRST}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action13]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action13\Params]
amount=STRING|"15"
from=STRING|"13"
source=STRING|"{STRORG}"
variable=STRING|"STRFIRST"
[Actions\Action14]
ActionID=STRING|"A_STR_TRIM"
Enabled=INTEGER|-1
Name=STRING|"STR Trim"
Params=FOLDER
[Actions\Action14\Params]
custom=STRING|"0"
eol=STRING|"0"
lead=STRING|"1"
source=STRING|"{STRFIRST}"
spaces=STRING|"1"
tabs=STRING|"1"
trailing=STRING|"1"
variable=STRING|"RFC"
[Actions\Action15]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action15\Params]
amount=STRING|"2"
from=STRING|"28"
source=STRING|"{STRORG}"
variable=STRING|"Mes"
[Actions\Action16]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action16\Params]
amount=STRING|"4"
from=STRING|"30"
source=STRING|"{STRORG}"
variable=STRING|"Anio"
[Actions\Action17]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action17\Params]
amount=STRING|"2"
from=STRING|"34"
source=STRING|"{STRORG}"
variable=STRING|"TipoSolicitud"
[Actions\Action18]
ActionID=STRING|"A_XML_CREATENODE"
Enabled=INTEGER|-1
Name=STRING|"XML Create Node (AuxiliarCtas)"
Params=FOLDER
[Actions\Action18\Params]
att00000000=STRING|"RFC,{RFC}"
att00000001=STRING|"Mes,{Mes}"
att00000002=STRING|"Anio,{Anio}"
att00000003=STRING|"TipoSolicitud,{TipoSolicitud}"
att00000004=STRING|"Version,1.3"
att00000005=STRING|"xsi:schemaLocation,""http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/AuxiliarCtas http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/AuxiliarCtas/AuxiliarCtas_1_3.xsd"""
att00000006=STRING|"xmlns:xsi,http://www.w3.org/2001/XMLSchema-instance"
att00000007=STRING|"xmlns:AuxiliarCtas,http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/AuxiliarCtas"
attcount=STRING|"8"
name=STRING|"AuxiliarCtas:AuxiliarCtas"
txtcount=STRING|"1"
variable=STRING|"AuxiliarCtas"
[Actions\Action19]
ActionID=STRING|"A_XML_CREATENODE"
Enabled=INTEGER|0
Name=STRING|"XML Create Node (AuxiliarCtas)"
Params=FOLDER
[Actions\Action19\Params]
att00000000=STRING|"RFC,{RFC}"
att00000001=STRING|"Mes,{Mes}"
att00000002=STRING|"Anio,{Anio}"
att00000003=STRING|"TipoSolicitud,{TipoSolicitud}"
att00000004=STRING|"Version,1.3"
att00000005=STRING|"xsi:schemaLocation,""http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/AuxiliarCtas http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/AuxiliarCtas/AuxiliarCtas_1_3.xsd"""
att00000006=STRING|"xmlns:xsi,http://www.w3.org/2001/XMLSchema-instance"
att00000007=STRING|"xmlns:AuxiliarCtas,http://www.sat.gob.mx/esquemas/ContabilidadE/1_3/AuxiliarCtas"
attcount=STRING|"8"
name=STRING|"AuxiliarCtas"
txtcount=STRING|"1"
variable=STRING|"AuxiliarCtas"
[Actions\Action2]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|-1
Name=STRING|"//new actions"
Params=FOLDER
[Actions\Action2\Params]
comment=STRING|"new actions"
[Actions\Action20]
ActionID=STRING|"A_FLOW_ELSEIF"
Enabled=INTEGER|-1
Name=STRING|"ElseIf Then"
Params=FOLDER
[Actions\Action20\Params]
case=STRING|"0"
connection=STRING|"0"
count=STRING|"1"
operator=STRING|"0"
type=STRING|"0"
value1=STRING|"{STRFIRST}"
value2=STRING|"CUENTA......"
[Actions\Action21]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|-1
Name=STRING|"//new actions (moved from ELSE block)"
Params=FOLDER
[Actions\Action21\Params]
comment=STRING|"new actions"
[Actions\Action22]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then //Cuenta node already exists"
Params=FOLDER
[Actions\Action22\Params]
case=STRING|"0"
connection=STRING|"0"
count=STRING|"1"
operator=STRING|"8"
type=STRING|"0"
value1=STRING|"{Cuenta}"
[Actions\Action23]
ActionID=STRING|"A_XML_ADDCHILD"
Enabled=INTEGER|-1
Name=STRING|"XML Add Childnode (AuxillarCtas <- Cuenta)"
Params=FOLDER
[Actions\Action23\Params]
child00000000=STRING|"{Cuenta}"
childcount=STRING|"1"
parent00000000=STRING|"{AuxiliarCtas}"
parentcount=STRING|"1"
variable=STRING|"AuxiliarCtas"
[Actions\Action24]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""Cuenta"" with value """" //clear Cuenta node"
Params=FOLDER
[Actions\Action24\Params]
expand=STRING|"0"
varname=STRING|"Cuenta"
[Actions\Action25]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"
[Actions\Action26]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|0
Name=STRING|"Show ""2de niveau: {STRFIRST}"""
Params=FOLDER
[Actions\Action26\Params]
icon=STRING|"1"
msg0=STRING|"2de niveau: {STRFIRST}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action27]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action27\Params]
amount=STRING|"10"
from=STRING|"13"
source=STRING|"{STRORG}"
variable=STRING|"STRFIRST"
[Actions\Action28]
ActionID=STRING|"A_STR_TRIM"
Enabled=INTEGER|-1
Name=STRING|"STR Trim"
Params=FOLDER
[Actions\Action28\Params]
custom=STRING|"0"
eol=STRING|"0"
lead=STRING|"1"
source=STRING|"{STRFIRST}"
spaces=STRING|"1"
tabs=STRING|"1"
trailing=STRING|"1"
variable=STRING|"NumCta"
[Actions\Action29]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action29\Params]
amount=STRING|"70"
from=STRING|"23"
source=STRING|"{STRORG}"
variable=STRING|"STRFIRST"
[Actions\Action3]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""Cuenta"" with value """" //clear Cuenta node"
Params=FOLDER
[Actions\Action3\Params]
expand=STRING|"0"
varname=STRING|"Cuenta"
[Actions\Action30]
ActionID=STRING|"A_STR_TRIM"
Enabled=INTEGER|-1
Name=STRING|"STR Trim"
Params=FOLDER
[Actions\Action30\Params]
custom=STRING|"0"
eol=STRING|"0"
lead=STRING|"1"
source=STRING|"{STRFIRST}"
spaces=STRING|"1"
tabs=STRING|"1"
trailing=STRING|"1"
variable=STRING|"DesCta"
[Actions\Action31]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action31\Params]
amount=STRING|"25"
from=STRING|"93"
source=STRING|"{STRORG}"
variable=STRING|"SaldoIni"
[Actions\Action32]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action32\Params]
amount=STRING|"25"
from=STRING|"118"
source=STRING|"{STRORG}"
variable=STRING|"SaldoFin"
[Actions\Action33]
ActionID=STRING|"A_XML_CREATENODE"
Enabled=INTEGER|0
Name=STRING|"XML Create Node (Cuenta)"
Params=FOLDER
[Actions\Action33\Params]
att00000000=STRING|"NumCta,{NumCta}"
att00000001=STRING|"DesCta,{DesCta}"
att00000002=STRING|"SaldoIni,{SaldoIni}"
att00000003=STRING|"SaldoFin,{SaldoFin}"
attcount=STRING|"4"
name=STRING|"AuxiliarCtas:Cuenta"
txtcount=STRING|"1"
variable=STRING|"Cuenta"
[Actions\Action34]
ActionID=STRING|"A_XML_CREATENODE"
Enabled=INTEGER|-1
Name=STRING|"XML Create Node (Cuenta)"
Params=FOLDER
[Actions\Action34\Params]
att00000000=STRING|"NumCta,{NumCta}"
att00000001=STRING|"DesCta,{DesCta}"
att00000002=STRING|"SaldoIni,{SaldoIni}"
att00000003=STRING|"SaldoFin,{SaldoFin}"
attcount=STRING|"4"
name=STRING|"Cuenta"
txtcount=STRING|"1"
variable=STRING|"Cuenta"
[Actions\Action35]
ActionID=STRING|"A_FLOW_ELSE"
Enabled=INTEGER|-1
Name=STRING|"Else"
[Actions\Action36]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|0
Name=STRING|"Show ""3de niveau: {STRFIRST}"""
Params=FOLDER
[Actions\Action36\Params]
icon=STRING|"1"
msg0=STRING|"3de niveau: {STRFIRST}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action37]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action37\Params]
amount=STRING|"8"
from=STRING|"13"
source=STRING|"{STRORG}"
variable=STRING|"Fecha"
[Actions\Action38]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action38\Params]
amount=STRING|"8"
from=STRING|"21"
source=STRING|"{STRORG}"
variable=STRING|"NumUnIdenPol"
[Actions\Action39]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action39\Params]
amount=STRING|"70"
from=STRING|"29"
source=STRING|"{STRORG}"
variable=STRING|"STRFIRST"
[Actions\Action4]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""num"" with value ""0"""
Params=FOLDER
[Actions\Action4\Params]
expand=STRING|"0"
varname=STRING|"num"
varvalue=STRING|"0"
[Actions\Action40]
ActionID=STRING|"A_STR_TRIM"
Enabled=INTEGER|-1
Name=STRING|"STR Trim"
Params=FOLDER
[Actions\Action40\Params]
custom=STRING|"0"
eol=STRING|"0"
lead=STRING|"1"
source=STRING|"{STRFIRST}"
spaces=STRING|"1"
tabs=STRING|"1"
trailing=STRING|"1"
variable=STRING|"Concepto"
[Actions\Action41]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action41\Params]
amount=STRING|"25"
from=STRING|"99"
source=STRING|"{STRORG}"
variable=STRING|"Debe"
[Actions\Action42]
ActionID=STRING|"A_STR_EXTRACT"
Enabled=INTEGER|-1
Name=STRING|"STR Extract"
Params=FOLDER
[Actions\Action42\Params]
amount=STRING|"25"
from=STRING|"124"
source=STRING|"{STRORG}"
variable=STRING|"Haber"
[Actions\Action43]
ActionID=STRING|"A_XML_CREATENODE"
Enabled=INTEGER|0
Name=STRING|"XML Create Node (DetalleAux)"
Params=FOLDER
[Actions\Action43\Params]
att00000000=STRING|"Fecha,{Fecha}"
att00000001=STRING|"NumUnIdenPol,{NumUnIdenPol}"
att00000002=STRING|"Concepto,{Concepto}"
att00000003=STRING|"Haber,{Haber}"
attcount=STRING|"4"
name=STRING|"AuxiliarCtas:DetalleAux"
txtcount=STRING|"1"
variable=STRING|"DetalleAux"
[Actions\Action44]
ActionID=STRING|"A_XML_CREATENODE"
Enabled=INTEGER|-1
Name=STRING|"XML Create Node (DetalleAux)"
Params=FOLDER
[Actions\Action44\Params]
att00000000=STRING|"Fecha,{Fecha}"
att00000001=STRING|"NumUnIdenPol,{NumUnIdenPol}"
att00000002=STRING|"Concepto,{Concepto}"
att00000003=STRING|"Haber,{Haber}"
attcount=STRING|"4"
name=STRING|"DetalleAux"
txtcount=STRING|"1"
variable=STRING|"DetalleAux"
[Actions\Action45]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|0
Name=STRING|"Show ""Node: {DetalleAux}"""
Params=FOLDER
[Actions\Action45\Params]
icon=STRING|"1"
msg0=STRING|"Node: {DetalleAux}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action46]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|0
Name=STRING|"Show ""Node: {Cuenta}"""
Params=FOLDER
[Actions\Action46\Params]
icon=STRING|"1"
msg0=STRING|"Node: {Cuenta}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action47]
ActionID=STRING|"A_XML_ADDCHILD"
Enabled=INTEGER|-1
Name=STRING|"XML Add Childnode (Cuenta <- DetalleAux)"
Params=FOLDER
[Actions\Action47\Params]
child00000000=STRING|"{DetalleAux}"
childcount=STRING|"1"
parent00000000=STRING|"{Cuenta}"
parentcount=STRING|"1"
variable=STRING|"Cuenta"
[Actions\Action48]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|-1
Name=STRING|"//removed action ""XML Add Childnode (AuxillarCtas <- Cuenta)"" Moved above"
Params=FOLDER
[Actions\Action48\Params]
comment=STRING|"new actions"
[Actions\Action49]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"
[Actions\Action5]
ActionID=STRING|"A_LOOP_TEXT"
Enabled=INTEGER|-1
Name=STRING|"Text Loop"
Params=FOLDER
[Actions\Action5\Params]
destvar=STRING|"STRORG"
file=STRING|"{LITFILNAME1}"
line0=STRING|"""George Orwell"",1984"
line1=STRING|"""George Orwell"",""Animal Farm"""
line2=STRING|"""J.K. Rowling"",""Harry Potter and the Sorcerer's Stone"""
line3=STRING|"""Suzanne Collins"",""The Hunger Games"""
line4=STRING|"""William Shakespeare"",""Romeo and Juliet"""
linecount=STRING|"5"
sourcetext=STRING|"0"
[Actions\Action50]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|0
Name=STRING|"If Then"
Params=FOLDER
[Actions\Action50\Params]
case=STRING|"0"
connection=STRING|"0"
count=STRING|"1"
operator=STRING|"3"
type=STRING|"1"
value1=STRING|"{num}"
value2=STRING|"100"
[Actions\Action51]
ActionID=STRING|"A_LOOP_BREAK"
Enabled=INTEGER|0
Name=STRING|"Break"
[Actions\Action52]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|0
Name=STRING|"End If"
[Actions\Action53]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
[Actions\Action54]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|-1
Name=STRING|"//new actions"
Params=FOLDER
[Actions\Action54\Params]
comment=STRING|"new actions"
[Actions\Action55]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then //Cuenta node already exists"
Params=FOLDER
[Actions\Action55\Params]
case=STRING|"0"
connection=STRING|"0"
count=STRING|"1"
operator=STRING|"8"
type=STRING|"0"
value1=STRING|"Cuenta"
[Actions\Action56]
ActionID=STRING|"A_XML_ADDCHILD"
Enabled=INTEGER|-1
Name=STRING|"XML Add Childnode (AuxillarCtas <- Cuenta)"
Params=FOLDER
[Actions\Action56\Params]
child00000000=STRING|"{Cuenta}"
childcount=STRING|"1"
parent00000000=STRING|"{AuxiliarCtas}"
parentcount=STRING|"1"
variable=STRING|"AuxiliarCtas"
[Actions\Action57]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"
[Actions\Action58]
ActionID=STRING|"A_XML_SAVE"
Enabled=INTEGER|-1
Name=STRING|"XML Save"
Params=FOLDER
[Actions\Action58\Params]
filename=STRING|"C:\temp\xml\{LITFILNAME2}.xml"
ifexists=STRING|"1"
xml00000000=STRING|"{AuxiliarCtas}"
xmlcount=STRING|"1"
[Actions\Action6]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|-1
Name=STRING|"//new actions"
Params=FOLDER
[Actions\Action6\Params]
comment=STRING|"new actions"
[Actions\Action7]
ActionID=STRING|"A_VARIABLES_INCREMENT"
Enabled=INTEGER|-1
Name=STRING|"Increment variable ""num"""
Params=FOLDER
[Actions\Action7\Params]
incement=STRING|"1"
vaiable=STRING|"num"
[Actions\Action8]
ActionID=STRING|"A_ROBOTASK_LOG"
Enabled=INTEGER|-1
Name=STRING|"Log Message"
Params=FOLDER
[Actions\Action8\Params]
message=STRING|"{num}"
type=STRING|"3"
[Actions\Action9]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""LITFILNAME2"" with value ""{ExtractFileName({LITFILNAME1})}"""
Params=FOLDER
[Actions\Action9\Params]
expand=STRING|"0"
varname=STRING|"LITFILNAME2"
varvalue=STRING|"{ExtractFileName({LITFILNAME1})}"
Oleg Yershov