Great points. A calculation sounds like it could work here, but this was solved by rebuilding the Agency object as a reference object, then creating a filter on the window that only displays Agencies who the user is a member of. This way, if a user is a member of only one agency, it is automatically selected, otherwise they select from an agency drop-down that displays each agency they belong to. I was complicating things by using a standard business object as Agency and trying to have a copy rule run with a collection as it's source. Probably possible using a calculation like you state, but not necessary in this case. Thanks.
↧