Hello all,
I would to know which are the classes used in to Transfer worker process.
Any one have idea please let me know.
Regards,
Amol
Hello all,
I would to know which are the classes used in to Transfer worker process.
Any one have idea please let me know.
Regards,
Amol
Hi Amol,
Did you verify whether is it working without workflow?
First, do this and check what is happening. If this is OK then check with using workflow.
To debug workflow, You have to attach batch and check classes also : HcmWorkerActionTransferWFTaskComplete and HcmWorkerActionTransferWorkFlow.
Hi Parag,
I tried to debug classes which are mentioned in your reply, but debugger not hitting that classes.
After clicked on continue Action form will open and after submit to workflow it will first complete workflow and then changed to ERROR.
Regards,
Amol
Hi Amol,
Did you create any class for this functionality and extend with HcmWorkerActionCompletion.
We did something like this and We created a new class and checked the condition for approval status. Based on the approval status we are writing the business logic.
Can you please debug the classes first and check why are you getting this error.
Check these classes- HcmWorkerActionCompletion, HcmWorkerActionTransferCompletion(Transfer worker), HcmPositionActionCompletion(Position action), HcmActionCompletionManager
Hi Parag,
Thanks for the reply.
I am using same class but unfortunately did not complete my task.
Scenario :- I have done the replica of Transfer a Worker process as Salary Increment. In that need to select same position with update in new earning component.
In my case I can select same position with update of earning component and Transfer workflow also completing but after that Approval Status getting updated with "ERROR".
Message Log :- Specified date interval overlaps with existing intervals.
1. Created a new process like Transfer worker.
2. Click on Salary Increment and Selected Same Position
3. Update Earning code with new Amount.
4. Workflow Complete but Approval Status getting "ERROR".
Could you please give idea where I can change or checked to complete this scenario.
Thanks in advance.
Regards,
Amol
Hi Amol,
I guess this question asked on the wrong forum. It should be in Dynamics 365 Finance and operation instead of Dynamics 365 HR.
Anyways, In both the system it uses the same classes.
You can check classes : HcmWorkerActionTransferCompletion
This is the main class which operates the worker transfer process.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156