Agent don't work in 98.5

I want to share a very strange case. I have a agent for move emails from the inbox, the code works correctly with Notes 7.1, however, does not work well in computers with 8.5. I have no any error message in 8.5.

The code is:

FIELD tipo:=“Demanda del Cliente”;

FIELD estado:=estado;

FIELD npedido:=npedido;

FIELD tpro:=tpro;

FIELD server := @Name( [CN] ; @Subset( @DbName ; 1 ) ) ; “El servidor Actual”;

FIELD database := @Subset( @DbName ; -1 ) ; “Esta base de datos” ;

FIELD FORM:=“Memo”;

@SetField(“tpro”;“”);

x:=@PickList( [Custom] ; server : database ; “OnlyPedidos” ; “*** SELECCION DE PEDIDOS ***” ; “Seleccione uno Pedido” ; 2);

@Prompt([Ok]; “x”;x);

@SetField(“estado”;“Pedido”);

@SetField(“npedido”;x);

@All;

@Prompt([Ok]; “estado”;estado);

@Prompt([Ok]; “npedido”;npedido);

@All

The code did not have the @Prompt, I added in order to debug the routine. The values are displayed right in 7.1 & 8.5, but when I check the document properties the fields “estado” and “npedido” for the @SetField don´t not exists in the document, but again, in computers with 7.1 works well.

The fields “estado” and “npedido” does not exists previously to run the agent. This code must create it.

Subject: Solution Found

I followed your suggestion. However nothing works. Finally I found the solution (don’t ask me why), I copied the files bookmarks.* from other computer and voilá.

Thanks…

CHG

Subject: re:Agent don’t work in 98.5

Under Application Properties, go to the right-most tab. Is “Allow more fields in database” checked? If not, your @Setfield will not work and will not give an error either.

Subject: re:Agent don’t work in 98.5

Yes, the field “Allow more fields in database is checked”.

I am thinking in change the code from @formula to lotusscript

Subject: Agent don’t work

Since v6 I stopped using the approach to creating new Fields as done I simply goto the code

      • Not using this approch from v6 or probably earlier - - -

FIELD estado:=estado;

FIELD npedido:=npedido;

  • -Straight doing this - -

Field estado := “Pedido”;

Field npedido: = x;

Has not failed me yet.

Also check the if there are any ACL settings interfering.