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

Notifications

Announcements

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)
  • André Arnaud de Calavon Profile Picture
    301,750 Super User 2025 Season 2 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

  • 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

  • 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 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
    301,750 Super User 2025 Season 2 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.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 417 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 325 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans