Custom Function that can use any of 3 layouts, not just the default one?

Custom Function that can use any of 3 layouts, not just the default one?

I have a workflow with a custom function action to create a deal.  I have 3 deal layouts, however, and the layout always ends up being the default layout.  I need it to be one of the other layouts.  Is there a way to "set the layout"  in the custom function script?