Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Classes of Transfer worker process from all position form

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
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: Classes of Transfer worker process from all position form

    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.

  • Amol@ Profile Picture
    Amol@ 282 on at
    RE: Classes of Transfer worker process from all position form

    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
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: Classes of Transfer worker process from all position form

    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
    Amol@ 282 on at
    RE: Classes of Transfer worker process from all position form

    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
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: Classes of Transfer worker process from all position form

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans