CUSTOM PATTERN for Palletization application

Sounds like you are still using the old Works component library.

See the custom pattern tasks in the reference guide:

The modern way would be to use process modeling and its assembly product types to define the patterns.