Skip to main content

Notifications

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

workflow based on type of employee

(0) ShareShare
ReportReport
Posted on by 107

Hi, 

I'm creating a workflow but it has different approval depending on the type of emplyee , for example i also can create an exmployee with type "contractor" in human resources. 

What can i do to setup this conditional. 

THank you. 

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,162 Super User 2025 Season 1 on at
    RE: workflow based on type of employee

    Hi Catalina,

    The purchase order approval has examples for virtual fields. You can check the class PurchTableDocument. E.g. the methods parmCalcDeltaInvoiceAmount or parmBudgetCheckResult

  • Catalina_CP Profile Picture
    Catalina_CP 107 on at
    RE: workflow based on type of employee

    Hi Saurabh,

    I'm setting up a workflow for expense report but depending on the type of worker i have to approve. if is a normal worker is hyerchy and if is a contractor just one person approve.

    The expense report just have the workflow originator but how can i tell the system that the originator was a contractor and not an employee.

    This is the issue i{m having right know

  • Suggested answer
    saurabh bharti Profile Picture
    saurabh bharti 15,029 Super User 2025 Season 1 on at
    RE: workflow based on type of employee

    Hi,

    Can you please help in understanding which workflow you are trying and what is the exact scenario to select this?

    Can you use some already available field on the transcation and then assign workflow based on that?

  • Catalina_CP Profile Picture
    Catalina_CP 107 on at
    RE: workflow based on type of employee

    Hi André,

    Could you please show me where to add the extended query or virtual filed, because when i generate the condition it doesnt have the option for exployee contractor,  this option just let me select each employee. 

    pastedimage1674740491828v1.png

    pastedimage1674740560814v2.png

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,162 Super User 2025 Season 1 on at
    RE: workflow based on type of employee

    Hi Catalina,

    In the workflow editor, you can add a conditional decision where you can check if the employee is a contractor or not. If the field is not available for selection, it would be possible to extend the query or add a virtual field to the workflow document to allow using the worker type.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans