Right-to-Work Screening in a Recruiting Process Built on an Older Dynamics Version

The technical options: an application form that writes into the CRM, a status field for pending authorisation, and workflows or plugins that route each application, with the legal rules left to your advisers.

In an older Dynamics CRM deployment, right-to-work screening is three technical pieces. First, an external application form on your careers site writes each application into the CRM through the Organization Service, or the Web API from Dynamics CRM 2016, including the candidate's answer to the right-to-work question. Second, a status field on the application, such as not checked, pending authorisation, verified or not eligible, that recruiters filter their views on. Third, server-side workflows or plugins that route each application by that status, so pending ones reach a check queue and nobody books an interview early. Which checks and evidence apply is for your HR and legal advisers. Solzet develops and supports Customer Engagement, older versions included.

What is in scope here, and what is not?

This page is about the system: how an older Dynamics CRM deployment captures, records and routes a right-to-work status so that recruiters do not spend time on applications that cannot proceed yet. It is not about the law. Which candidates need a check, what evidence is acceptable, when the check has to happen, how long records are kept and what you may ask on an application form are questions for your HR team and legal advisers, and they differ by country. The design below works with whatever rules they set, because the rules live in status values and transitions you agree with them, not in code.

How does an external application form write into an older Dynamics CRM?

Most recruiting systems built on Dynamics CRM 2011 to 2016 on-premises take applications from a form on the careers site, not from the CRM itself. The form posts to a small server-side component, never straight from the browser, and that component creates the candidate and application records in the CRM with a dedicated service account. On Dynamics CRM 2011, 2013 and 2015 that means the Organization Service; from Dynamics CRM 2016 the Web API is available as well. Both are supported interfaces, which matters later if the system moves to Dataverse.

The form captures the candidate's self-declaration as data, for example an answer to a question your advisers have worded, and the component sets the status to not checked. Documents, if your process collects them at this stage, go to secure storage with a link on the record, with access limited to the people who check.

  • Do not write to the CRM database directly with SQL: it is unsupported, it bypasses security and auditing, and it blocks any later move online.
  • Validate on the server side as well as in the form, so a malformed post cannot create a half-filled application.
  • Log every failed write with the payload, so no application is lost when the CRM is unavailable.

Which status field does the process need?

One option set field on the application, owned by the people who check, with values agreed with HR. A typical set is shown below. Keep the self-declaration from the form in a separate field, so you always know what the candidate said and what was verified, and add who checked and when.

StatusSet byWhat it allows
Not checkedThe application form on createScreening of the application itself, no interview booking
Pending authorisationChecker, or the routing workflowHeld in the check queue until the check is complete
VerifiedCheckerProgress to interview and offer
Not eligibleCheckerApplication closed with a reason, no further stages
  • Field security profiles restrict who can change the status and read the evidence fields.
  • Auditing on the status field records every change with user and time.

Workflow or plugin: which should route the applications?

Use workflows where they are enough and plugins where they are not. Background workflows, available in every version, can assign a pending application to a queue and send a notification. From Dynamics CRM 2013, real-time workflows and business rules can act at the moment of saving. A plugin registered on create and on update of the application is the dependable way to enforce a rule such as no interview stage until verified, because it runs on the server whatever the source of the change: the form, an import or another integration.

NeedWorkflowPlugin
Assign pending applications to a check queueYes, background workflowPossible, rarely needed
Notify the checkerYesPossible
Stop progress until verified, whatever the sourceReal-time workflow can, depending on versionYes, the dependable choice
Complex conditions across related recordsLimitedYes
Maintained by an administrator without codeYesNo, needs a developer and testing

How do recruiters filter candidates by status day to day?

With views and dashboards, not with exports. A view of verified applications per vacancy is the recruiter's working list; a view of pending applications is the checker's queue; and a dashboard counts applications by status per vacancy so a bottleneck in checking is visible. Because the status is a real field, these views stay correct without anyone maintaining a spreadsheet beside the CRM.

What does the build look like step by step?

A sequence that adds right-to-work screening to an existing recruiting process without changing the rest of it.

StepWhat to do
1. Agree the statusesWith HR, agree the status values the process needs, for example not checked, pending authorisation, verified and not eligible, and what moves an application from one to the next. The rules themselves come from your HR and legal advice.
2. Add the fieldsAdd an option set field for the status, a field for the candidate self-declaration from the form, and date and user fields for who checked and when, on the application or candidate entity.
3. Secure the fieldsPut the status and evidence fields under a field security profile so only the people who check can change them, and switch on auditing for those fields.
4. Connect the formHave the careers site form create the application through the Organization Service or the Web API with a dedicated service account, writing the self-declaration and setting the status to not checked.
5. Route by statusAdd a workflow or a plugin on create and on change of status that assigns pending applications to a check queue, notifies the checker, and holds the application at its current stage.
6. Block early progressUse a plugin, or a business rule and a real-time workflow where your version has them, to stop an application moving to interview or offer until the status is verified.
7. Give recruiters viewsCreate system views and dashboards filtered by status, so recruiters work only verified applications and see pending ones as pending.

Should you build this on an old version at all?

Often yes, if it is built in a way that survives a move. A status field, a form that writes through a supported API, and workflows or plugins that use the SDK all move to Dataverse with modest changes; direct SQL, unsupported scripts and database triggers do not. Whether the deployment itself should be stabilised, migrated or rebuilt is a separate decision, covered on Dynamics 365 on-premises at end of life, and unsupported code from earlier partners is covered on upgrading unsupported customisations.

What does Solzet do for recruiting processes on older Dynamics CRM?

Solzet provides ongoing Customer Engagement development and support, including for older Dynamics CRM versions that are still in production. For right-to-work screening we agree the status model with your HR team, add the fields, security and auditing, build or adapt the server-side component behind the application form, write the workflows and plugins that route and enforce, test them against the form and any imports, and hand over the views recruiters need. Our own senior consultants and developers do the work, and we write it so that it moves cleanly if you later go online.

If the recruiting system is due for replacement and you would rather not carry Microsoft licensing for it, a custom CRM built around your hiring process is an option too. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.

What do people ask us?

How can I filter right-to-work candidates in Dynamics CRM?

Add a status field on the application, such as not checked, pending authorisation, verified and not eligible, set it from the application form and the checker, and give recruiters views filtered on it. Workflows or plugins route and enforce by that status.

Can our careers site form write applications into an on-premises Dynamics CRM?

Yes. A small server-side component behind the form creates the records through the Organization Service, or the Web API from Dynamics CRM 2016, using a dedicated service account. Never write to the CRM database directly.

Should I use a workflow or a plugin to block interviews until a check is done?

A plugin on create and update is the dependable choice, because it enforces the rule whatever the source of the change. Workflows suit assignment and notifications, and real-time workflows can help from Dynamics CRM 2013.

Does Solzet advise on right-to-work law or which documents to accept?

No. Rules, evidence, timing and retention are for your HR team and legal advisers. We build the system so that whatever rules they set are captured as statuses and transitions.

How do I keep right-to-work information restricted?

Use field security profiles on the status and evidence fields so only checkers can change or read them, store documents in secure storage with limited access, and enable auditing on those fields.

Will this work survive a move to Dynamics 365 online?

Yes, if it uses supported interfaces: option set fields, workflows, plugins written against the SDK and a form that writes through the API. Direct SQL and unsupported scripts would have to be rewritten.

Does Solzet still work on older Dynamics CRM versions?

Yes. We provide ongoing Customer Engagement development and support, including older versions still in production, and advise on whether to stabilise, migrate or rebuild when the time comes.

Which solution is right for your business?

Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.