You want to create a rule that verifies if the onbaordee has the work permit uploaded if it’s not from the company’s country. If not an alert message should trigger and stop the submission.
Create a rule like the example below:

Then add it to the Work Permit entity:
