Choose Language Hide Translation Bar
Highlighted
Hari
Level III

Script issue, log file is not throughing any error

hello, I have one line script but it is not working and log file is not showing any error. I have used same type of script / structure other place without any issue.

 

Any help?

 

Hari_0-1599041153899.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: Script issue, log file is not throughing any error

"For Each Row()" is not a valid message to be passed to a data table, therefore, 

dt << For Each Row(

just returns

Scriptable[]

The script works fine if you remove

dt <<
Names Default To Here( 1 );
dt = Data Table( "DATA" );

For Each Row(
	If( Contains( :Param, "P1 %" ),
		:Param = ":MAIN_PARAMETER"
	);
);
Jim

View solution in original post

2 REPLIES 2
Highlighted
txnelson
Super User

Re: Script issue, log file is not throughing any error

"For Each Row()" is not a valid message to be passed to a data table, therefore, 

dt << For Each Row(

just returns

Scriptable[]

The script works fine if you remove

dt <<
Names Default To Here( 1 );
dt = Data Table( "DATA" );

For Each Row(
	If( Contains( :Param, "P1 %" ),
		:Param = ":MAIN_PARAMETER"
	);
);
Jim

View solution in original post

Highlighted
Hari
Level III

Re: Script issue, log file is not throughing any error

thanks. It works now.

Article Labels