Record producer not submitted for non logged user

sanjeet1245
Tera Guru

I  have been several posts on this topic, and I have tried the suggestions but still cannot seem to make a record producer public. I would like users to be able to submit the record producer via a Service Now Portal without logging in. I have:

-1.Added a record producer to the Service Catalog.
2. Created a User Criteria with role public and added it under Available For on the Record Producer. 
3. Created variables on the Record Producer with Read/Write/Create roles set to public

4. When i submit a record producer without logging in I received an alert message notification(" ErrorSomething went wrong and your request could not be submitted. Please contact your system administrator") and I have to do this task without rest api method .

 

Is There Any Other Option to Achieve This work (EXCEPT REST API).Please Help So That I can Complete this Work .I have mentioned a link below.

https://dev172322.service-now.com/sp?id=sc_cat_item&sys_id=07340efe479df91014aa3378c26d4380&referrer...Screenshot 2023-10-26 181822.png

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@sanjeet1245 

check these links

Unauthenticated users cannot submit catalog items on Service Portal 

"Something went wrong and your request could not be submitted. Please contact your system administra... 

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

Sandeep Rajput
Tera Patron
Tera Patron

@sanjeet1245 Just tested this and it seems that your user doesn't have access to access your submit_producer API. It is throwing 401 Unauthorised access error.

Screenshot 2023-10-26 at 7.16.32 PM.png

Check the access permissions for the public user and see if they can create a record on the table mentioned on the table field of the record producer form.

View solution in original post

12 REPLIES 12

Hello sir @Ankur Bawiskar  The solution given are correct but doing so will open the security which is risky . Any Alternative solution to complete the work. Please help!

Hi @Ankur Bawiskar ,Thank you for above answer, I am able to view and submit on /sp portal but when I am trying to open record producer using /esc portal, it is always redirecting me to login page.

 

Can you please help me here!

 

@a___kumar 

there must be some redirection on login script which does this

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

@Ankur Bawiskar thank you for your response, can you please help me where to find the redirection logic, I have icon link on login page, which is pointing to Record Producer, once I click on it, it is still remaining on login page.

a___kumar_0-1711960899593.png

 

Sandeep Rajput
Tera Patron
Tera Patron

@sanjeet1245 Just tested this and it seems that your user doesn't have access to access your submit_producer API. It is throwing 401 Unauthorised access error.

Screenshot 2023-10-26 at 7.16.32 PM.png

Check the access permissions for the public user and see if they can create a record on the table mentioned on the table field of the record producer form.