Oracle Solution for Error ora-19017

Solution for Oracle Error ORA-19017

ORA-19017: Attributes can only be simple scalars

What triggered the Error:

Attribute values can only be simple scalar values

What should we do to fix it:

Use only simple datatypes for attribute values