PR Approval Workflow
We have to design a PR approval workflow for our client. I would like to share our WF structure & get your suggestions.
All our PR's will be cost centre based (K) and we will be creating a Z table wherein we will have:
1) Cost centre 2) Cost centre owner 3) Position ID (OM) 4) Email 5) Approval limit
WF will retrieve the relevant cost centre owner position ID from OM & based on the PR value will search the approval hierarchy in OM till the approval limit is reached.
Q1: How should the WF react in case the position ID is in Inactive/Withdrawn status in OM while creating a PR? In this case the WF will fail. We suggested that in this case the PR should automatically go higher in the hierarchy. This will be a temporary workaround but how will the HR come to know that there is an action to be taken by them for the WF to work. Any ideas how to automate this?
Q2: In case the position ID of the cost centre owner is not available in OM then what should the WF do?
Your valuable suggestions are highly appreciated. Thanks.