Anitha Vallabhaneni you can capture the dynamic value of 1st script in a parameter using correlation function, import all the actions of 2nd script in first and pass the saved parameter. You don't need to save it in a text file for every iteration, however you can print the values in notepad using this function: long fd; char buff[100]; web_reg_save_param("cRequest_id","LB=---","RB=---","ORD=1",Last); //Before closing the Action strcpy( buff,lr_eval_string("{cRequest_id}") ); fd=fopen( "C:\\NotepadName.txt","a" ); fprintf( fd,"%s\n",buff ); fclose( fd ); }