How to run pre-boarding lifecycle workflow if the employee hire date is already passed the trigger threashold?

Anuj Chokshi 25 Reputation points
2023-03-13T18:17:10.88+00:00

Hello,

I have been testing out the new Lifecycle workflow to run some tasks as a pre-onboarding workflow that triggers 7 days before the employee hire date. I noticed that if the employee hire date is less than 7 days, the workflow wont trigger. I understand the logic here, but is there a way to check if the starting days is 7 days or less away and trigger the workflow if it hasnt ran for the specific user?

For example, if HR decides to hire someone last minute and have them start 4 days from today. The workflow will not trigger since it is set to run 7 days before. So what would be the solution in this case?

Any help would be greatly appreciated.

Best,

Anuj

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,730 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alexander Filipin 160 Reputation points Microsoft Employee
    2023-03-17T13:51:49.5966667+00:00

    Hi @Anuj Chokshi ,

    thank you for the feedback. I am afraid there isn't a perfect solution to your scenario in Lifecycle Workflows at the moment, the triggers mostly assume that all the HR processes happened ahead of time and the data is in place ahead of time.

    We have heard this feedback from multiple customers, and we are evaluating how we can improve the triggers or add additional triggers that are not focused on a given moment in time.

    It's worth mentioning that the workflow will still pick the user up if the data is not delayed more than three days.

    Thanks,

    Alex


1 additional answer

Sort by: Most helpful
  1. Givary-MSFT 35,466 Reputation points Microsoft Employee
    2023-03-21T05:46:21.06+00:00

    @Anuj Chokshi Thank you for reaching out to us, regarding your ask to check (is there a way to check if the starting days is 7 days or less away and trigger the workflow if it hasn't run for the specific user) - Refer to this https://learn.microsoft.com/en-us/azure/active-directory/governance/check-status-workflow where you can filter by user to check further information for the user.

    Regarding the other scenario, let me research on this and revert back.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.