Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Record producer received empty records from notification

Abigail
Tera Expert

Hello,

I have a Record Producer that receives the survey number from a notification button. The button sends a URL, for example:

https://exampledev.service-now.com/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=84178...

This value is received by the Record Producer. I want to clarify that it only captures the survey number, not the logged-in user.

The issue I’m facing is that when I impersonate another user who does not have the ADMIN role, the Record Producer results appear empty.


I don't have any conditions set for availability, and I didn't use a client script to specify the user, so I'm not sure why this is happening.

Any idea?

Thanks



1 ACCEPTED SOLUTION

@Abigail 

is this script include getting called?

how are you passing the number?

Are you using client callable script include in GlideAjax and this is for external users i.e. snc_external role?

If yes then you need to make script include public by adding this function to it

isPublic: function(){
return true;
},

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

7 REPLIES 7

@Abigail 

is this script include getting called?

how are you passing the number?

Are you using client callable script include in GlideAjax and this is for external users i.e. snc_external role?

If yes then you need to make script include public by adding this function to it

isPublic: function(){
return true;
},

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hello  @Ankur Bawiskar 

It works, thanks!

 

 

@Abigail 

Glad to help.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader