04/12/2022 01:05 PM
Hi Team,
We are integrating the CA service desk ticketing system using SOAP connector, we need to retrieve the dynamic attribute value and the label of the attribute in the JSON and pass it on to the Ticketing system. We are able to retrieve the value of the dynamic attribute by calling the attribute name itself ${<dynamicAttribute>}, but the thing is we are not able to retrieve the label. We tried following approaches but none worked. Your assistance in getting both the label and the value would be appreciated.
Approach 1 : ${endpoint.endpoint_attributes.attributelable}
Approach 2 : ${endpoint_attributes.attributelable}
Approach 3 : ${endpoint_attributes.attributelabel}
Approach 4 : ${endpointAttributes.attributelable}
Approach 5 : ${endpointAttributes.attributeLable}
Approach 6 : ${endpoint.endpoint_attribute.attributelable}
Approach 7 : ${endpoint.endpoint_attribute.attributelabel}
From the DB we can see the endpoint_attributes table holds the values of dynamic attributes but when try access the same in the JSON, we are getting the following error. For some reason the endpoint_attributes / endpoint_attribute is being treated as String in Saviynt.
groovy.lang.MissingPropertyException: No such property: attributelable for class: java.lang.String
at SimpleTemplateScript1557.run(SimpleTemplateScript1557.groovy:1)
groovy.lang.MissingPropertyException: No such property: attributelabel for class: java.lang.String
at SimpleTemplateScript1557.run(SimpleTemplateScript1557.groovy:1)
Your help would be much appreciated.
Thanks & Regards,
Selvaraj N
Solved! Go to Solution.
04/12/2022 02:20 PM
Hi Selvaraj,
We don't have support for fetching endpoint_attributes.
Thanks
Ajay