User has got process coach access still user is unable to access the application enhancement form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 08:20 AM
Hello All,
We have an form - Application Enhancement Request form, in which there is available for criteria in which one criteria is below -
And below is the script for this -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 11:01 AM - edited 12-21-2023 11:02 AM
Hi @Ashwini Sawant2 ,
As we can see there are 3 user criteria configured, are you sure other two also returning the answer = true.
You can remove all and add one by one and test to know which one is causing issue.
-Thanks,
AshishKMishra
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 02:01 PM
Try to do an encoded query instead of the two addQuery statements, something like the below:
var usr = gs.getUserID();
var perType = gs.getProperty('PQ.cmdb_rel_person.type.process_coach');
var relPerson = new GlideRecord('cmdb_rel_person');
relPerson.addEncodedQuery('type='+perType+'^user='+usr);
relPerson.query();
...