Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Processing imports - Path to xml attribute?

yusufw
New Contributor III
New Contributor III

I am using the REST connector to read XML data from a report and update existing users in Saviynt.

My data looks like this:

<wd:Report_Entry>
<wd:USERNAME>1101</wd:USERNAME>
<wd:FIRSTNAME>James</wd:FIRSTNAME>
<wd:PREFEREDFIRSTNAME>James</wd:PREFEREDFIRSTNAME>
<wd:LASTNAME>Bond</wd:LASTNAME>
<wd:TITLE>Conversation Specialist</wd:TITLE>
<wd:EMPLOYEETYPE wd:Descriptor="Employee">
<wd:ID wd:type="Worker_Type_ID">EE</wd:ID>
</wd:EMPLOYEETYPE>

How can I source the "Employee" value so it can be stored in Saviynt's employeeType attribute?

I have tried the following in my UserImportJSON:
"employeeType": "wd:EMPLOYEETYPE.(@wd:Descriptor)~#~char",
"employeeType": "wd:EMPLOYEETYPE.@wd:Descriptor~#~char",
"employeeType": "wd:EMPLOYEETYPE.@Descriptor~#~char",
"employeeType": "wd:EMPLOYEETYPE@Descriptor~#~char",

with no luck.

1 REPLY 1

yusufw
New Contributor III
New Contributor III

The following worked:

employeeType": "wd:EMPLOYEETYPE.wd:Descriptor~#~char",