<h2>Empty "User" records in the "Software Subscriptions" table "samp_sw_subscription"</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><ul style="list-style-position: inside;"><li>User field is observed to be empty for few records in the "samp_sw_subscription" table.<br /><br /> <img style="align: baseline;" title="" src="sys_attachment.do?sys_id=998c3085db40f8d022e0fb243996196b" alt="" width="615" height="493" align="baseline" border="" hspace="" vspace="" /> <br /><br /></li><li>When a particular user is marked under "assigned to" in the SAAS tools for a subscription, how is Servicenow mapping to that same person ?<br /><br /></li><li>Based on which data, the user id is identified in Servicenow ?<br /><br /></li><li>How the user related information gets populated on "samp_sw_subscription" table ?</li></ul></section></div><div ><h3 >Release</h3><section><ul style="list-style-position: inside;"><li>All</li></ul></section></div><div ><h3 >Resolution</h3><section><ul style="list-style-position: inside;"><li>The "User" is identified using the "User principal name" when the subscription is created.<br /><br /></li><li>The "User principal name" is considered as the email and is used to query the servicenow "Users" table.<br /><br /></li><li>If no record is found in the "Users" table, the "User principle name" is trimmed to have only the "Username" and this "Username" is used to query the "Users" table.<br /><br /></li><li>The "Users" field will be empty if no record is found either with email or with the username in the "Users" table.<br /><br /></li><li>In short, even if the "User principal name" is not empty, the "User" field will be empty if there are no "Users" on this instance with the "User principal name" as their email id or with the same username.<br /><br /></li></ul></section></div></article></div>