I have created a test dispatch script that adds three variables on group of files selected through a right click menu command option.
The dispatch has three set variables actions preceded by check out along with user prompts that populates the appropriate data card values and followed by check in
The script has the customary start block and end block for all the documents.
However, the script when run does the user prompt action for all the files individually instead of doing it just once.
What could be the reason for this behavior? or am i missing something obvious? I am new to Dispatch, so apologies for being silly here!
Many Thanks,
Rasesh
Rasesh,
Just a couple quick Questions:
1. Are you putting the user prompts prior to the Start Block?
2. How are you executing the script?
I find that group selecting and executing from the right click menu works better than workflow triggers.
I created one that works well so far, but I have seen it randomly act as your does.
Mine does the following:
- Combo box (to choose an option which sets the value of a runtime variable)
- Block START
- Check out %PathToSelectedFile%
- Set Variable (Sets card variable to value of runtime variable)
- Check in %PathToSelectedFile%
- Block END