How to generate QR code for ServiceNow visitor records?

Vidhyavathi Kot
Tera Contributor

Hi Team,

I have a requirement in WSD(workspace service Delivery) . In that I have visitor management application, i need to generate QR code for each Visitor record. Could you please help me how to generate the same ?

Thanks in advance

1 ACCEPTED SOLUTION

stefanoperinott
ServiceNow Employee
ServiceNow Employee

Hi,

in the visitor registration process, you can send a notification to the guests that contain QR Code, like in the image below:

find_real_file.png

 

To do that, you can use flow designer to generate the email notification with the desired (automatic generated) QR code that contains the desired data. 

find_real_file.png

To generate the QR code, there are several ways: for example, you can use the Chart Google APIs (here an easy tutorial on how you can use it) to generate a string like this one:

<img src="https://chart.googleapis.com/chart?cht=qr&chl=[your visitor registration sys_id]&chs=180x180&choe=UTF-8&chld=L|2" alt="">

The data that you specify in the 'chl=...' field will be the data that you can use to generate actions as soon as the QR code is scanned. 

Hope this helps. 

Let me know if you need further details on this.

Stefano

View solution in original post

5 REPLIES 5

Appli
Mega Sage
Mega Sage

Hi, just for our information - why this is needed? what exactly objective does product owner aim to accomplish implementing QR code generation for every visitor?

Hope it helps

Hope it helps

stefanoperinott
ServiceNow Employee
ServiceNow Employee

Hi,

in the visitor registration process, you can send a notification to the guests that contain QR Code, like in the image below:

find_real_file.png

 

To do that, you can use flow designer to generate the email notification with the desired (automatic generated) QR code that contains the desired data. 

find_real_file.png

To generate the QR code, there are several ways: for example, you can use the Chart Google APIs (here an easy tutorial on how you can use it) to generate a string like this one:

<img src="https://chart.googleapis.com/chart?cht=qr&chl=[your visitor registration sys_id]&chs=180x180&choe=UTF-8&chld=L|2" alt="">

The data that you specify in the 'chl=...' field will be the data that you can use to generate actions as soon as the QR code is scanned. 

Hope this helps. 

Let me know if you need further details on this.

Stefano

Hi stefanoperinotto,

 
Thanks for your reply. 
 
Could you please guide me.

How to generate QR code for different visitors dynamically to check-in(In the visitor registration process ) in the above notification.

 

HI, Can you provide an sample Flow action to create this QR code for a alm_hardware asset record when it is created ?