SAP Knowledge Base Article - Public

2278784 - How to trigger Workflows for Depenents by country

Symptom

How do we trigger workflows on change of the dependents of an employee?

 

Cause

  • It is possible to trigger a workflow for every change on the dependents of an employee (including the creation of a new dependent, deletion of a dependent, change or deletion of a dependent's information).  
  • It is also possible to trigger different workflows depending on the country of the legal entity in which the respective employee is located (not the country of the dependent). In case of concurrent employments and/or global assignments of the employee, the employment that is currently selected when the changes on dependents are made shall determine the country.

Resolution

 

Without country restriction:

 <rule id="rule-100">
    <trueoutput>DependentChange</trueoutput>
       <conditions>
               <or>  <!-- below configuration means type change or no change -->
                     <!–START : Dependents Workflow Rules -->

                        <equal id="personRelationshipInfo.relationship-type" inverse="true" />  
                       <equal id="personRelationshipInfo.relationship-type"  />  

                   <!--END: Dependents Workflow Rules -->

               </or>             
        </conditions>
</rule>

 

With Country restriction:

 

<rule id="rule-100">
 <trueoutput>DependentChange</trueoutput>
        <conditions>
           <and> 
                <equal id="jobInfo.company.countryOfRegistration" value="USA"/> 
                 <or> <!-- means type change or no change -->
                     <equal id="personRelationshipInfo.relationship-type" inverse="true" /> 
                     <equal id="personRelationshipInfo.relationship-type" /> 
               </or> 
         </and>
     </conditions>
</rule>

 

*Note:

Currently, "Edit with Route change" is not supported.

Keywords

KBA , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors HCM Core 1511