Right away I thought that we might be able to use Related Actions to link the demographic data from PeopleSoft to feed the Survey Monkey Exit Interview. My first step was to look into Survey Monkey and see if I could pass the data in a query string, and their documentation pointed to Custom Variables.
The use of Custom variable allows you to pass data to the survey and this would eliminate the interviewer from having to collect this information. I would only need to figure out how to tie the survey to the employee. The logical choice was to use related actions to tie the survey to an employee. So I created the following related content service and tied it to the Job Data Component using the emplid key to pass to my service.
rem other code not shown selected most data from ps_employees; &queryString = "?EMPLID=" | &emplid; &queryString = &queryString | "&FIRST_NAME=" | &fname; &queryString = &queryString | "&LAST_NAME=" | &lname; &queryString = &queryString | "&FULLNAME=" | &utility.getUserNamebyEmplid(&emplid); &queryString = &queryString | "&GENDER=" | &gender; &queryString = &queryString | "&Ethnicity=" | ðnicDescr; &queryString = &queryString | "&VETERAN=" | &vetDescr; &queryString = &queryString | "&Manager=" | &utility.getUserNamebyEmplid(&mId); &queryString = &queryString | "&Region=" | ®ion; &queryString = &queryString | "&LOB=" | Substitute(&lobDescr, "&", "%26"); &queryString = &queryString | "&Title=" | &title; &queryString = &queryString | "&JOBCODE=" | &jobcode; &queryString = &queryString | "&KEY_CORE=" | &KEY_CORE; &queryString = &queryString | "&LOBEC=" | &utility.getUserNamebyEmplid(&lobec); &queryString = &queryString | "&Regional=" | ®MgrName; &queryString = &queryString | "&Tenure=" | &tenure; &queryString = &queryString | "&Date=" | %Date; &queryString = &queryString | "&Interviewer=" | &utility.getUserNamebyOprid(%UserId); If %DbName = "HCMPRD" Then &url = GetURL(URL.ZZ_EXIT_INTERVIEW) | &queryString; Else &url = GetURL(URL.ZZ_EXIT_INTERVIEW_TEST) | &queryString; End-If; %Response.RedirectURL(&url);
Now when the Interviewer goes to Job Data they have a related Action to perform an exit interview. This will open a new window with the exit interview in the targetcontent frame pre populated with the demographic data needed to analyze turnover.