I am working on an agent that sets an @Environment value via @Prompt([OkCancelListMult] to pass to another agent in order to set a value on my document. The @Prompt seems to work, however, when it sets the value it only returns the first item selected. It has been suggested that @Environment was intended only to pass single values. Does any one have any suggestions or ideas to make this happen?
Subject: Using @Environment to pass a multiple select value from @Prompt([OkCancelListMult]
Use @Implode(returnValue; “#”) to set the environment variable and @Explode(envVariable; “#”) when retrieving the value.
Of course, “#” or whatever delimiter you pick must not occur within returnVariable. You are limited to only one character here, because of the way @Explode works.
There also most probably is a limitation concerning the maximum length of an environment variable, but I don’t know off hands what it might be.
Subject: Using @Environment to pass a multiple select value from @Prompt([OkCancelListMult]