Need help with allowing users with roles to be able to submit a ticket in a record producer.

John Clyde Ap_a
Giga Expert

Hello I have this record producer. I am currently impersonating a user with a role "cafe user" but I cannot seem to submit a ticket,

find_real_file.png

Because when I do submit it, it just says "Requested record not found".find_real_file.png

There is also no submitted record in the table. 

I have tried it as a sys admin user and I can submit a ticket just fine. Is there a config I need to edit to allow specific roles to be able to submit tickets and they can be able to view their requests?

1 ACCEPTED SOLUTION

John Clyde Ap_a
Giga Expert

Thread closed: 

Fixed it by rechecking the ACL's and adding the role to be able to read it, not just create/write.

find_real_file.png

View solution in original post

5 REPLIES 5

Vasantharajan N
Giga Sage
Giga Sage

Please check whether the user has permission to create record on the table that the record producer is trying to create the record.

if not, then add the ACL to provide permission to the role.


Thanks & Regards,
Vasanth

I have added ACL roles but it is still the same. 

For reference this is where I added the roles..

One for write

find_real_file.png

find_real_file.png

 

Another for Create

find_real_file.png

find_real_file.png

The SN Nerd
Giga Sage
Giga Sage

There could be an error in your record producer script, preventing the record from being created.
Can you share your code?


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hello Paul,

When I am impersonating as the sys admin and try to submit a record, it just works fine and the record is also created, it's only for when I impersonate a user who has another role that was given permission to create/submit records in my ACL that for some reason  I cannot submit a record/ticket in a record producer.

I only have a few scripts but here are them:

find_real_file.png

find_real_file.png

 

A custom with label variable field with a widget attached to it. This is mainly its script. It works well and no errors have shown so far.

find_real_file.png

 

Does it have something to do with my ACL?

For reference this is the config of my ACL, when a user submits a ticket, the data will be sent to that specific table(Cafe Order) so I added the roles so they can have permission to create records.

find_real_file.png