You don't actually need to use the if/then statement:
will automatically present the search screen if the link line field is null.
It is possible that this may be causing the problem as your condition may be repeatedly presenting the search format. (For an example, look at the contact fills on for the SD.open.interaction link record).
So the issue has nothing to do with the fill.search.format, but the fact that bringing back multiple records is causing your system to hang.
Again, is this on the web or the desktop client? We've seen issues where your version of the Java Runtime Environment on the web can cause issues when viewing configuration item records.
If you use the search format, and perform a search that would pull the same -first- record as a 'true' search, what happens? (for example, if you perform a 'true' search from the device search screen, what's the first record that comes back? there may be an issue with something in the first record in your list, which causes the hang)
Can you attach a screenshot of your link record? There's something else going on here; we're missing some piece of information. A link's query for records does not cause the system to lock - so there's something else happening.
As was suggested before, logs might be helpful as well (though this forum really isn't the same as HP's technical support...).
well, the best way to start debugging is to make everything simple, then add complexity.
Remove all of the expressions in the link record, and just use the following:
Then give that a try. What are those results? Does it pull back the full list of records like we expect?
Then, add in these expressions, one at a time - add one, save the link, go into a record and try it out... Remember that you need to exit the other record completely; the link record doesn't refresh unless you get out of the record and back in.
if (not null(logical.name.display in $File)) then ($query="network.name#\""+logical.name.display in $File+"\" or additional.alias=\""+logical.name.display in $File+"\"")
Those should be the only expressions you need; everything else on your link record is unnecessary.