I got some error in Business rules

Anish9515
Tera Contributor

Try and catch
Code wise execute fine , Every time i got catch error on logs

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Anish9515 

please share some screenshots etc

I think tree picker or hierarchy is not supported in portal

you will need custom logic for that

Hierarchical Department picker to use as in catalog variable macro 

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

Krounist61
Kilo Contributor

Thanks for sharing this.

swathisarang98
Giga Sage
Giga Sage

Hi @Anish9515 ,

 

In native view you can add attribute called tree picker for reference field but its not available for service portal you might have to customise it , found a similar article you can refer the below article,

https://www.servicenow.com/community/service-management-forum/tree-picker-hierarchy-fields-on-servic... 

 

https://developer.servicenow.com/connect.do#!/share/contents/7877086_hierarchical_department_picker_... 

 

Youtube video of the same customisation,

https://youtu.be/BE3lIS9a0TA 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang