Solved

Getting a specific value from a relational list

  • 6 July 2023
  • 4 replies
  • 131 views

Hi, I would like to get a specific value from a relational list to send in an email notification,

I know its suppose to look something like this:

$AccountObj.getCustValues('srSubTab_cust_hilanet',$resource).getCaption($CurrentActionItem.getAddonFieldValue('CustomColumn371srSubTab'))

but for some reason it’s not working…

Please assist me with this and if there is any documentation for getting these custom values it would be very helpful :)

 

Thanks in advance,

Haim.

icon

Best answer by alin.lupascu 7 July 2023, 11:06

View original

4 replies

Userlevel 3
Badge +1

Hi @haimg,

 

Depending on your Field type (Service Record or Action Item) select one of the options below.

 

RELATIONAL LISTS  

  

Service Record -

${sr.getAddonFieldValueCaption('INTERNAL_ATTRIBUTE_NAME')} 

 

Action Item - It brings the value from a certain list.

 ${CurrentActionItem.getAddonFieldValueCaption('XXXXX')} 

Action Item $CurrentActionItem.getAddonFieldValue

Thanks, works great!

Is there any link to a documentation about these variables?

Userlevel 3
Badge +1

@haimg - you can use this ( https://documentation.sysaid.com/docs/editcreate-new-notification? ) the custom fields ones are at the bottom of the page/table.

Thank you very much!

Reply