Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Access the Dynamic Attribute Label in the JSON

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on November 19 2020 at 18:15 UTC

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

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
1 REPLY 1

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on November 24 2020 at 03:18 UTC

Hi Selvaraj,


We don't have support for fetching endpoint_attributes.attributelable for SOAP connector yet.


Thanks

Ajay


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.