How can I set a ConstantForce's force to move the object towards another object?

I need to know how I could set a ConstantForce’s force so it can move an object towards another. Any help will be appreciated. It doesn’t even have to be code, even just a formula works. Sorry I do not have any code to share, this is the basis of my code, so I haven’t started yet. Thanks!

//obj and target are the transforms of the moving object and target object

var constForce = obj.GetComponent<ConstantForce>();
constForce.force = (target.position - obj.position).normalized * force;