How to automatically fill one extension attribute after apply one material?

Hello Everyone,

I want to the value of one extension attribute equal to material's title after I applied material to physical product, Any business rules can do it?

Thanks a lot!