Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Error happened when I created the customized events for BC Workflow.

(0) ShareShare
ReportReport
Posted on by 6
I almost follows the procedure here to create the Create a Custom Approval Workflow in D365 Business Central
 
But when I finished my coding I can see my event in the list.
 
But when I click it and choose it, it show me the message by:
Function Name must have a value in Workflow Step: Workflow Code=TEST, ID=994. It cannot be zero or empty.
 
Is there any know how to figure it out?
 
Thanks.
  • Suggested answer
    Tech_BC_Gokul Profile Picture
    331 on at
    Error happened when I created the customized events for BC Workflow.
    Hi

    Please check if you have added any methods for the below event subscriber 

    Thanks
    Gokul
     
     
        [EventSubscriber(ObjectType::Codeunit, Codeunit::"Workflow Response Handling", 'OnAddWorkflowResponsesToLibrary', '', false, false)]
        local procedure AddIndentStatusChangeResponsetoLibrary();
  • LY-02050752-0 Profile Picture
    6 on at
    Error happened when I created the customized events for BC Workflow.
    I saw the ticket, but video link is invalid, so I got no answer.
  • gdrenteria Profile Picture
    15,615 Most Valuable Professional on at
    Error happened when I created the customized events for BC Workflow.
    Hi
    I hope this can help you and give you some hints
    BR
    Gr

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,140 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,895 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans