i cannot get the ritm by using ref qualifier

sariksorte
Tera Contributor

I am using correct reference qualifier, script include I should get 3 ritm but I am getting whole list

Please help me in this

7 REPLIES 7

Chaitanya ILCR
Kilo Patron

Hi @sariksorte ,

 

in the script's getRITM() method 12th line replace it with

return 'numberIN'+arr.join();

do you have any records meeting that encodedquery condition?

 

the last screenshot that you have attached looks like there are no RITM's with short description containing "OCP Intake"

 

please share more details if this doesn't work

please share the entire script and it's screenshot. is it in global scope or in any other scope etc details are required.

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Maik Skoddow
Tera Patron
Tera Patron

Hi @sariksorte 

in line 10 of your script include you have to write 

arr.push(g.getValue('sys_id'));

And in line 12 the return is wrong. Instead write

return 'sys_idIN' + arr.join(',');

Maik

sariksorte
Tera Contributor

not helpful

 

sariksorte
Tera Contributor

these solutions working in my pdi but not in dev environment