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.

Catalog item total cost is not calculating for non-admin user

IB98
Tera Sage

Hello,

I have a Catalog item that has a MRVS ( amount variable). As Amount variables are calculated, the Catalog item has the Total amount variable that sums up the MRVS amount variable. A custom variable with a widget is created to accomplish that. The functionality works for admins but not for outside users. Why would this be?

1 ACCEPTED SOLUTION

I was able to fix the issue by selecting "public" on the widget. That made the calculation visible. 

View solution in original post

4 REPLIES 4

Fabian Kunzke
Kilo Sage
Kilo Sage

Hey,

This could be because of ACLs preventing a non-admin user to read the MRVS value. You can best check that with a test script using the GlideImpersonate | ServiceNow Developers API. This will allow you to run a script in the context of another user.

Outside of ACLs there is the possibility of an onQuery Business Rule preventing access to the records, too.

 

Hope this helps,

Regards

Fabian

I was able to fix the issue by selecting "public" on the widget. That made the calculation visible. 

Great solve! I would've missed that for sure.

Oya Orhan
Giga Guru

Hi @IB98 ,

Could you please give more information about calculation of 'Total estimated cost'? What do you use, what is your formula etc.?

Thanks

Oya