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.

Trying to make a record producer public

Fabricio4
Mega Sage
Hi!
Please help me understand what I am missing here.
I have created a public portal, and one page (public) contains a record producer that creates a record in a custom table.
To make this possible to the public (not logged in), I took the following steps:
  1. Table Access Controls: all of them (read, create, update, delete) have the "public" role inside and nothing else;
  2. Page where the form is located is public;
  3. The variables are public, with the fields "Write role", "Read role", "Update role" and "Delete role" all set to public;
  4. Inside the record producer, I created an user criteria with the "public" role and put inside "Available for". "Not Available for" is empty.
I have a feeling this has to do with the table permissions. When I'm not logged and try the page, everything is displayed correctly, the page and the whole form. However, as soon as I Submit the form, I get an error " Something went wrong and your request could not be submitted". I get no errors when I'm logged in, and the record goes through without issues, which shows me it's a permission issue.
To further investigate, I tried adding a reference variable to the table I'm trying to access, and indeed it's inaccessible to the public, which indicates to me the permission issue is in the table itself. However, since I already set the ACL's to the "public" role, I don't know what else I'm missing.
Any light?
3 REPLIES 3

Peter Xiang
Tera Expert

Hi @Fabricio4 ,

I have the same issue, do you resolved it?

NavalD
Tera Contributor

Hi @Peter Xiang @Fabricio4 

Same issue but variables are not getting in login page 

Saul6
Tera Guru

Exact same issue, did you get around this?