Submitted by Doug Finner on Sep 20, 2010 8:13:38 AM

Formula-Agent and @Prompt

Another option is to put your actual modification code into an agent that runs on selected docs and then call the agent from either another agent or an action:

Ex:

Agent = 'SetMyField'

FIELD MyField = "MyValue"

Action

Cont := @Prompt([yesno];"Continue?";"You really want to do this?")

@If(Cont = 1; @Success; @Return(""));

@Command([RunAgent];"(SetMyField)");

Now you get the 'are you sure' prompt one time and all docs are process without any further prompting.

You can also use your initial prompt to pick the field to set and the value to set into the field and pass those data off to Environmental variables that are read by the processing agent.

Submitted by Marcus MF Foerster on Mar 4, 2010 2:34:39 PM

Formula-Agent and @Prompt

.