I want to use several WF where each of them has some activation conditions for each department ( I have six). However, I need to setup a defaul WF that will be run only when there is no Department involved.
When I try to setup a default PR WF, it does not work as the system does not \know which WF to use.
So this is how I setup activation condition to the default WF:
Either:
Where Purchase requisition.Reason is not value –
Purchase requisition lines. defaultDimension.Department is not value FIN
Purchase requisition lines. defaultDimension.CostCenter is not value FIG
Sorry, I’m a bit confused. Have you defined 6 different workflows for these 6 departments?(I mean in your worklows, form you have 6 different workflows?)
If so, where did you specify the activation condition?
Hi Santosh, I create an activation condition ( base on each financial dimension) for each wF. So for instance for FINANCE department, I created a WF that has activation condition with only financial dimension = FIN and Cost center = FIB ; another workflow for HEALTH department with financial dimension = HEALTH etc…please let me know your thoughts or a better way to set it up. Thanks
As I understand, you want to create different worflow steps depends on the departments. You can not use more than one active and default purchreq workflow type. You have to create one workflow and configure it depends on departments. For example you can use aprrove elements for each department with automatic actions for other departments. Or you can create subworkflow element for each department in purchreq workflow. In summary you have to create and configure one workflow for PurchReqReview. And you have to create different elements with condition or automatic actions for each department.
I Agree with Sefa recommendation. But one thing you should think about is…will all the lines in a PR come from same department?
I mean, what if a PR has two lines and one is for department1, and the second is for department2?
If you use a condition like PRlines.department is “department1”, system checks the department of first PR line and route it to the specific department.
So, if you think that one PR can have lines with different departments, you should think of using the line level workflow.
Hi Santosh, Sefa Thanks both for your input into this.
I will not use different department on the same PR so the plan is to not use Line level WF so all lines should come from the same department.
As I have at leat 6 department with position hierarchy in each department with associated approval amounts to each position , can you help me to set that up. Up until now, I have created 6 WF where each one is activated only when a specific user ( that is belong to a specific department) submits a PR . In that case, the system checks for PR line and see the department and selects that specific WF.
My question: How can I make sure that I do not have conflicts or how can I make sure that all cases are taken into account?
More details on PR setup will be appreciated especially if I can create only ONE WF for all departements instead of 6 different.
I did everything mentionned for a PO Workflow but I dont know why but i have an error message:
Stopped (error): X++ Exception: Worker ID not set or record not found for %1, %2. Verify that the extended data type matches, and that the worker exists.
at SysWorkflowHierarchyProvider-resolve
SysWorkflowHierarchyProvider-resolveHierarchy
SysWorkflowQueue-resume
What is the probelm?? I have setup all workers / employees and also setup hierarchy but I dont know why the wf does not working. Any help is appreciated. thanks