Symptom
You want to create a separate workflow for different user depending on their position attribute.
This use case is an example request to create two different workflows (or more) for the same task depending on a given Attribute of the Initiator.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
Employee Central - Position Management
Employee Central - Workflows
Reproducing the Issue
The expectation is that the Rule to trigger based on user Attribute
In this example the attribute is Job Classification
For example:
if Job classification = HR Professional (50029122)
Then
Raise workflow that has only 1 level approval (createPosition1L)
else
Raise workflow that has 2 level approval (in lieu we are raising a message to indicate that the user is NOT in JobClassCheck i.e. not an HR Professional (50029122) )
Resolution
The below is a scenario where by the qualify attribute is Job Classification.
Please Proceed as follows:
1- Create your Workflows
2- Create a group(s) for your qualifying Attribute
3- Create a Business Rules to define the process
4- Trigger Workflow Request
5- Check Outcome
a- If user is in qualifying group for 1st workflow a workflow is raise accordingly
and as you can verify below the initiator is indeed in qualifying group
b- If user is NOT in qualifying group a different workflow will trigger or like in this example a message is raised
Keywords
Workflow, Attributes, Group, Login User, Criteria, , KBA , LOD-SF-EC-WFL-RUT , Workflow Routing, Dynamic Roles & Groups , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , How To