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, ...
Unanswered

Finance And Operations Customer Workflow Activation Trigger

(0) ShareShare
ReportReport
Posted on by 12

Hi All

I have created a custom workflow type in visual studio using 2 entities:

1. HCMRecruitingRequest

2. HCMCandidateToHire

I would like the workflow to trigger when the status of a Recruiting Request changes to Active. I have setup the Activation condition of the newly created workflow with the condition as specified.

In order to test this I have then navigated to Recruiting Requests and created a new Request, entered the details, click Save and finally click Activate at this time I expect the workflow to trigger however it does not.

Is there anything else that I can check to determine why its not doing this.

  • Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi Snehalb247, Are the workflow batch jobs running in the environment?

    check the batch jobs here

    technologyblog.rsmus.com/.../

    If it is Dev environment, then ensure that batch service is also running.

  • Snehalb247 Profile Picture
    12 on at

    Hi Mohit

    It is is the Dev Environment, I can confirm the workflow batch jobs are running every minute the status changes to executing. Im assuming that also means the Batch service is running.

  • GirishS Profile Picture
    27,845 Moderator on at

    Hi Sneha,

    Are you saying that submit button is not enables after the status is changes to Active?

    If yes, have you added the code in the canSubmitToWorkflow method at table level?

    Also have you added the workflow type in the form design property?

    Seems it's a standard form so you done the above using extension.

    Thanks,

    Girish S,

  • Snehalb247 Profile Picture
    12 on at

    Hi Girish, basically what I am looking for is for the workflow to trigger in the background. There is no requirement for the submit button to appear in the form. As soon as the form status is changed to active a workflow needs to trigger.

    I have setup the activation properties of the workflow for the same however it just does not trigger I am not sure what I am missing. How do I ensure the custom workflow I have created is listening to the correct table for inserted and updated records.

  • GirishS Profile Picture
    27,845 Moderator on at

    I am not able to understand the functionality you are trying to achieve.

    If you want to submit the workflow via code, you need to add the logic for submission for workflow if you don't want to use submit button on the form.

    Refer to the below blog for submission of workflow via code. After submission, the approval will be assigned to one user. So how you are going to do that functionality?

    https://community.dynamics.com/365/financeandoperations/b/dynamics-365-fin-ops-technical-help/posts/auto-submission-of-workflow-x

    Thanks,

    Girish S.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 320 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 210

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans