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

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. 

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,365 Super User 2026 Season 1 on at

    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.

  • Catalina_CP Profile Picture
    107 on at

    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
    saurabh bharti Profile Picture
    15,039 Moderator on at

    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
    107 on at

    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

  • André Arnaud de Calavon Profile Picture
    303,365 Super User 2026 Season 1 on at

    Hi Catalina,

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 514 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 390

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans