Where clause in view has an invalid field or a field that is not visible

AS363
Kilo Contributor

I have joined two tables and added the required fields in View Tables - > View fields also. Yet I am getting the same error as the view is unable to identify the field I am trying to fetch.

Any idea on how to resolve it? TIA

1 ACCEPTED SOLUTION

Hi Jaspal,

I think it should be below as cost_plan_breakdown has task field; prefix can be anything

lowercase or uppercase; also fields with underscore _

PM_sys_id = CPB_task

Regards
Ankur

 

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

View solution in original post

17 REPLIES 17

Hi Jaspal,

I think it should be below as cost_plan_breakdown has task field; prefix can be anything

lowercase or uppercase; also fields with underscore _

PM_sys_id = CPB_task

Regards
Ankur

 

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

this worked. thank you

Thanks Ankur for the insight.

So, 

PM.sys_id=CPB.task

OR

pm.sys_id=cpb.task

were correct above.

Hey Jaspal,

Just now checked underscore and dot both are allowed.

Thanks for sharing the information.

Regards
Ankur

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

Yes, that was the reason was eager to know what went wrong & thus had asked to share the correct answer here.