Submitted by jan_rifkinson on 2010/07/10 18:11
In Equations
AM:GTD_Pndg=HasKeyword(Item,"Lmsg",-1)|E:GTD_Pndg=|AM:GTD_FoloUp=HasKeyword(Item,"call",-1)|E:GTD_FoloUp=|AM:Movie=HasKeyword(Item,"Movie",-1)IE:Movie=
 
If an item has the word "Lmsg", GTD_Png is marked yes (this works)
If an item has the word "call", GTD_Foloup is marked yes (this works)
If an item has the word "Movie", Movie is marked yes (this does NOT work)
 
closed / reopened IQ for testing
Why doesn't the 3rd auto assignment work? TIA

Comments

Hi Jan, The problem is that after the "AM:Movie=HasKeyword(Item,"Movie",-1)" function, you don't have a "|" but a capital letter "i".
 
Just paste that in your auto-assign section and everything should be fine :
 
AM:GTD_Pndg=HasKeyword(Item,"Lmsg",-1)|
E:GTD_Pndg=|
AM:GTD_FoloUp=HasKeyword(Item,"call",-1)|
E:GTD_FoloUp=|
AM:Movie=HasKeyword(Item,"Movie",-1)|
E:Movie=

jan_rifkinson

2010/07/11 11:02

In reply to by Armando

 Sometimes I wonder how I could be so dumb. I swear it must be the drugs.      Thanks, Amando.

Armando

2010/07/11 12:14

In reply to by jan_rifkinson

It could be the drugs ;) but really, these little things are sometimes hard to see... It's just experience.

jan_rifkinson

2010/07/11 14:08

In reply to by Armando

Armando, there seems to be an inconsistency which I can't isolate so I made a video so you can see what I mean. After correcting the equation, I closed/re-opened IQ to make sure it was properly refreshed (another story), then I created all the items you will see. Check the property boxes as I move from item to item. At first I thought CAPS might be making the difference, i.e. Movie vs movie. But then you will see that didn't explain everything. If, however, it has to be an exact duplicate for assignment, i.e. on 'Movie' will match equation 'Movie', then I will need to know how to express that in the equation as either Movie or movie to generate the assignment. 

Armando

2010/07/11 14:21

In reply to by jan_rifkinson

Hi Jan,
 
Where some of these items created before you modified your auto-assign equations ?
 
(If yes, you should use the "touch" function (normally shift-F8) so that the auto-assign is re triggered... IQ doesn't re-run autoassigns everywhere each time you change them.  So : 1- select item field for all these items, 2- Edit menu -> touch.)
 
If that doesn't fix the problem, tell me and I'll think some more... ;)
 

jan_rifkinson

2010/07/11 20:03

In reply to by Armando

 Sorry to say, you have to think some more  ....... if you want to...... no change in assignment(s)
 
Edited  2010/07/11 20:00
I tried various experimental items. Examples:
Movie movie
Movie
movie Movie
This is a test for movie
This is a test for Movie
This is a test for movie Movie
 
Those w movie 2x definitely got assigned 
Movie was assigned
The others weren't 
 
All I know is it's not consistent. 

Armando

2010/07/11 21:59

In reply to by jan_rifkinson

Hi Jan, I just took a few minutes to look at this , and it seems to be a problem with IQ's own parsing "feature". I.e : It takes your "movie" string as if it was your movie field.
 
So one workaround -- until Pierre fixes this (if it's fixable) -- would be to change the name "movie" field. Maybe to something like "MovieYN".
 
 
Tell me if that solves the problem.
 
P.S. That also means that you have to change the field name in your auto-assign rules.
 
AM:GTD_Pndg=HasKeyword(Item,"Lmsg",-1)|
E:GTD_Pndg=|
AM:GTD_FoloUp=HasKeyword(Item,"call",-1)|
E:GTD_FoloUp=|
AM:MovieYN=HasKeyword(Item,"Movie",-1)|
E:Movie=

jan_rifkinson

2010/07/12 11:02

In reply to by Armando

Duplicate post deleted. Server is taking FOREVER again

jan_rifkinson

2010/07/12 11:01

In reply to by Armando

BINGO !!  That's the problem / solution, Armando. Thanks.
If this is final solution, then the manual has to specify in the case of smart folders, that field name NOT be identical to the item key word.  Hmmmmm.
I don't know why IQ can't remember this but I guess it's manageable. (I will remember but I'm thinking of broad based users who can't be bothered to remember anything. They want the program to do it all.)