Define HCM Event Conditions

Event conditions consist of one or more groups of expressions for events on a given entity. You can define conditions based on event attributes, so the application responds to or acts on only those events that match these conditions.

To define an event condition:

  1. On the home page, click My Client Groups > HCM Experience Design Studio > Event Conditions.
  2. On the Event Conditions page, Click Add.
  3. In the Details section, provide the details of the event condition.
    1. Specify the name of the event condition, short code, and description.
    2. Select the entity on which you’re defining the event condition.
    3. Select the product or the consumer that uses the defined condition in their setup pages.
    4. Enable or disable the event condition, as required.
  4. In the Condition Details section, provide the details of the condition on which the event should be triggered.
    1. Click Add Group to add an expression for the condition.
    2. Select the attribute from the available list of attributes for the chosen event.
    3. Provide specific details for the old and new conditions.
      1. Provide the old value of the attribute before the event is triggered.
      2. Provide the new value of the attribute when the event is triggered.
    4. Click the ... icon to add another expression for the same condition or to delete the expression.
    5. To add more than one group of expressions, click Add Group and specify the expressions.
      For example, you want to define a group of expressions for these scenarios:
      • When the grade changes from G7 to G8 for employees in California

        Or

      • When the job code changes from (J7, J8) to (J9, J10) for employees in Texas

      The condition would be:

      (
         (old.GradeCode = 'G7' AND new.GradeCode = ‘G8’) —> Expression 1
           AND —> Connector 1
         (old.LocationCode == 'California’ and new.LocationCode == ‘California’) —> Expression 2
      )
      
      OR —> Connector 2
      
      (
         (old.JobCode in ('J7', 'J8') and new.JobCode in (‘J9’, ‘J10’)) —> Expression 3
          AND —> Connector 3 
          old.LocationCode == ‘Texas’ and new.LocationCode == ‘Texas’) —> Expression 4
      )
  5. In the Defined Condition section, review the condition.
    1. Verify the details of the defined condition.
    2. Click Refresh to see the updated condition for any changes made in the Condition Details section.
  6. Click Save and Close.

You can now associate the event condition to processes that are specific to your products in Oracle HCM Cloud. For more details, refer to the product documentation.