Why
We require several roles from Workday for either making decisions about who should approve things, or who can see items.
How
We used to get roles directly from Workday, rather we get them now from another pass-thru webService. The documentation for the actual webService is here. We get a series of role entries such as the below.
<Role> <Cd>CC1243</Cd> <Nm>DRAART Associate Managing Director Office</Nm> <Inactive>0</Inactive> <Type>COST_CENTER</Type> <RoleID>cost_center_manager</RoleID> <RoleNm>Cost Center Manager</RoleNm> <WorkerNm>Watkins, Chris</WorkerNm> <EmpID>45215</EmpID> <NETID>cw236</NETID> <UPI>11123377</UPI> <Email>chris.watkins@yale.edu</Email> <LoadDt>2017-06-30</LoadDt> </Role>
Troubleshooting
If the service is down for some reason, simply re-rerun the job.