SAP Knowledge Base Article - Public

3408436 - How to find the workflow is triggered by which business rule from workflow details page?

Symptom

I have a triggered workflow, how could I know which business rule set this workflow? 

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

Environment

SAP SuccessFactors Employee Central

  • Workflow

Resolution

We could find the exact workflow configuration that is triggered. However, if the workflow is used in serveral business rules, we could only filter out the all Business rule names but could not tell exactly which rule set the workflow in instance. 

If you want to confirm which is the one really triggers your workflow, it is better to trigger the workflow again, and get rule trace log based on KBA 2257064 - Employee Central - Business Rule Execution Log 

If it is not possible to re-trigger the workflow, you could consider to do following:

Please follow below steps to find the workflow id.

1. Right click mouse to find "Inspect" in workflow details page.

2. In Inspect page,

  1. Click Network
  2. Type .dwr in search field
  3. Then refresh workflow details page
  4. Click essMssWorkflowControllerProxy.getDataByWFRequestId.dwr

3. Click Response to search "workflowRequestId", in this example, workflowRequestId is 7256

4. Now, go to Integration Center < My Integrations < Create < Scheduled Simple File Output Integration

5. Search EmpWfRequest, check WfConfig and WfRequestId, then click Select button

6. In Filter and Sort, filter WfRequestId is equal to 7256 (obtained in step 3.)

7. Note down the WfConfig value for this WfRequestId, here the WfConfig is Manager and HR.

8. Now, go to Import and Export Data<Export<Rule

9. Down the file in Scheduled Job Manager<MDFZIPExport_Rule<View Details<Download Status

10. Open Rule.csv file, search for wfConfig whose value is "Manager and HR", check its rule name and rule id.

With this method, you could filter out all business rules that are used to set the workflow Manager and HR.

If the result is more than 1, you would have to identify which is the one triggered your workflow finally by yourself.

See Also

2257064 - Employee Central - Business Rule Execution Log 

Keywords

workflowRequestId, wfConfig, rule trace log , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions