web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Classes of Transfer worker process from all position form

(0) ShareShare
ReportReport
Posted on by 282

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

  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    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.

  • Amol@ Profile Picture
    282 on at

    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.

    pastedimage1602439079616v1.png

    2. Click on Salary Increment and Selected Same Position 

    pastedimage1602439196575v2.png

    3. Update Earning code with new Amount.

    pastedimage1602439234785v3.png

    4. Workflow Complete but Approval Status getting "ERROR".

    pastedimage1602439447059v4.png

    Could you please give idea where I can  change or checked to complete this scenario.

    Thanks in advance.

    Regards,

    Amol

  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    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

  • Amol@ Profile Picture
    282 on at

    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

  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 363 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 188

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans