Updating a field from an agent

my form has a computed field called "status"the value for this field is based on the value of other fields on the form.

i.e., @if(len(fielda) > 1; “A”; @if (len(fieldb) > 0; “B”; @if (len(fieldc) >0; “C”; “D”))).

so, assume all fields are currently blank, the value in the “status” will compute to “D”.

when my agent runs, it places a value in ‘fieldc’, and saves that document.

why does the computed field not update at this time?

i noticed the “status” field will not re-calculate and save until you actually open the document in notes, close it, and indicate ‘yes’ when it asks you to save changes.

can’t i get this field to re-compute and save by manipulating the fields that it is based on, (within an agent)?

Subject: Updating a field from an agent

If you’re using script in your agent, check out the “computewithform” method.

Subject: RE: Updating a field from an agent

Hey, thanks! that worked.i was unaware of that method.