on 2022 Nov 23 7:27 PM
Hello mates,
I am trying to create a workflow to approve a Termination, but we have different countries implemented in the system
Is it possible to create a workflow that activates according to the country/region of the company of the terminated employee?
I am creating this one but rule trace log finds the country as Null i do not understand why:


I am used to choose the country of the company in order to determine if a business rules should act according to the company but in this case is a surprise that is finding it as null
Any help on this?
Regards
Request clarification before answering.
I'm not following, this is for a termination (if so the confusion would make sense)?
For a termination workflow, I'd assume the business rule to be on
employmentInfo --> Onsave & either with Employment Details or Employment Details model as base object. Generally speaking a termination is initiated via that porlet, job info will merely be a consequence afterwards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jasper, thanks for your reply,
and thank you for the point, although I see that through job info the termination workflow is also triggered, (it is happening).
The main point to which I cannot find a solution is to be able to activate different workflows depending on the country to which the worker belongs.
How should the rule be for that to happen?
Best regards
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.