Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 5 TIBCO ActiveMatrix BusinessWorks: Working with the Employee Component Interface : Expected Results

Expected Results
The example results can be viewed in the respective output XML files configured in Setting Up the Example.
The GetProcess data is fetched based on the EMPID parameter specified in the Get_Input.xml file. In case of a success, it retrieves the employee details and generates the Get_output.xml file. In case of an error, it prints the error message in the get_output_err.xml file. Any change to the input XML file starts the process.
The following EMPLOYEE record is from an example Get_output.xml file:

 
   <?xml version="1.0" encoding=""?>
   <EMPLOYEE>
   <EMPLID>FA0001</EMPLID>
   <BIRTHDATE>08/06/1982</BIRTHDATE>
   <BIRTHPLACE>New York City</BIRTHPLACE>
   <TIB_EMPLOYEE__NAME_TYPE_VW>
       <NAME_TYPE>PRI</NAME_TYPE>
     <TIB_EMPLOYEE__NAMES>
<EFFDT>09/23/1999</EFFDT>
<EFF_STATUS>A</EFF_STATUS>
<COUNTRY_NM_FORMAT>001</COUNTRY_NM_FORMAT>
<NAME_PREFIX>Mr</NAME_PREFIX>
<LAST_NAME>WOODROW</LAST_NAME>
<FIRST_NAME>AARON</FIRST_NAME>
<MIDDLE_NAME/>
</TIB_EMPLOYEE__NAMES>
  </TIB_EMPLOYEE__NAME_TYPE_VW>
  <TIB_EMPLOYEE__NAME_TYPE_VW>
<NAME_TYPE>PRF</NAME_TYPE>
<TIB_EMPLOYEE__NAMES>
<EFFDT>09/23/1999</EFFDT>
<EFF_STATUS>A</EFF_STATUS>
<COUNTRY_NM_FORMAT>001</COUNTRY_NM_FORMAT>
<NAME_PREFIX/>
<LAST_NAME/>
<FIRST_NAME/>
<MIDDLE_NAME/>
</TIB_EMPLOYEE__NAMES>
</TIB_EMPLOYEE__NAME_TYPE_VW>
    </EMPLOYEE>

 
The SyncProcess does not have an input XML file. Any change to the employee data in PeopleSoft will invoke the SyncProcess. Sync_output.xml will have the corresponding message published to the adapter.
The following EMPLOYEE record is from an example Sync_output.xml file:

 
   <?xml version="1.0" encoding=""?>
   <EMPLOYEE>
<EMPLID>FA0001</EMPLID>
<BIRTHDATE>1982-08-06</BIRTHDATE>
<BIRTHPLACE>N Y City</BIRTHPLACE>
<TIB_EMPLOYEE__NAME_TYPE_VW>
<NAME_TYPE>PRI</NAME_TYPE>
<TIB_EMPLOYEE__NAMES>
<EFFDT>1999-09-23</EFFDT>
<EFF_STATUS>A</EFF_STATUS>
<COUNTRY_NM_FORMAT>001</COUNTRY_NM_FORMAT>
<NAME_PREFIX/>
<LAST_NAME>WOODROW</LAST_NAME>
<FIRST_NAME>AARON</FIRST_NAME>
<MIDDLE_NAME/>
</TIB_EMPLOYEE__NAMES>
</TIB_EMPLOYEE__NAME_TYPE_VW>
<TIB_EMPLOYEE__NAME_TYPE_VW>
<NAME_TYPE>PRF</NAME_TYPE>
<TIB_EMPLOYEE__NAMES>
<EFFDT>1999-09-23</EFFDT>
<EFF_STATUS>A</EFF_STATUS>
<COUNTRY_NM_FORMAT>001</COUNTRY_NM_FORMAT>
<NAME_PREFIX/>
<LAST_NAME/>
<FIRST_NAME/>
<MIDDLE_NAME/>
</TIB_EMPLOYEE__NAMES>
</TIB_EMPLOYEE__NAME_TYPE_VW>
   </EMPLOYEE>

 
The adapter tester picks up the EMPID parameter from the Update_input.xml file and updates the corresponding data in PeopleSoft.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved