SAP Knowledge Base Article - Public

2325044 - Workflow not triggered from New Hire Wizard

Symptom

You have configured a Business Rule to trigger a workflow for a new hire, but the workflow is NOT getting triggered:

  • none of the assigned approvers are getting any workflow request
  • nor any of the CC persons are receiving email notifications.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SuccessFactors Employee Central
  • Workflow Derivation Rules
  • New Hire Wizard

Cause

This can be caused by wrong configuration for the rule which triggers the workflow. Still the rule triggering the workflow will be executed, and can be observed with a Rule Trace, but the WF will not be triggered.

Resolution

Ensure the following configuration is followed:

  • When triggering workflows from the New Hire Wizard this needs to be separated from the rest of cases where workflows are triggered: a specific rule needs to be created, using as a base object Employee Information or Employee Information Model.
  • The SET condition of the rule should use 'Workflow Information' instead of 'wfconfig'.
  • The rule to trigger the New Hire workflow is recommended to be put as onSave under the Job Information element.
  • RBP is not respected for workflows in the New Hire wizard, so the 'Respect Permissions' flag for each person appearing in the hire workflow should be set to NO

NOTE: For additional information, and an example of this rule, you can refer to the Workflow Implementation Guide. In particular point 13.1 Example Workflow Rules for the New Hire UI

workflow_hire.png

In the case of a new hire scenario, workflow configuration derivation rules must be defined with the base object Employee Information/Employee Information Model. The field wfConfig is available on the Employee Information/Employee Information Model entity.

New hire rules for workflow configuration derivation can be defined under the jobInfo entity. It’s recommended to configure the new hire rules in the beginning so that other rules further down can check for null values before setting it.

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

A) Guide: Implementing and Managing Workflows                                                                                                                             Chapter: Example Workflow Rules for New Hire UI

See Also

  • 2569624 - Triggering Workflows via Business Rules - Cannot Find WfConfig in Rule Menu
  • 2589924 - Configuring a Business Rule for Termination Workflow - Employee Central
  • 2571698 - Best practices setting up business rules for event reason derivation
  • 3052999 - Workflow Rule Validation for Business Configuration UI
  • 2450594 - Mass workflow Approval Page

Keywords

Workflow wfConfig Business Rule New Hire Rehire email cc HrisWorkflowNotificationImpl HrisWorkflowCCNotificationImpl , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , Problem

Product

SAP SuccessFactors HCM Core all versions