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 In Workflow for payment journal in reject / cancel payment

(3) ShareShare
ReportReport
Posted on by 6
We have created one workflow for payment journal in which i am getting error by which approver is not able to cancel or reject the request and same happening with requester as he is not able to cancel the request he sent for approval. Please let me know if anyone has any solution for it. Please find the error i am getting below. Thanks.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If requesting support, please provide the following details to help troubleshooting:


Error message: 

Record type Gen. Journal Line is not supported by this workflow response.


Internal session ID: 

59d4feff-0892-45d4-824b-cd4b9c7c5351


Application Insights session ID: 

5a6ff6da-58bc-4890-a594-ce6dc830cb75


Client activity id: 

e85bc2fa-ef11-4833-847c-a523e52ee874


Time stamp on error: 

2025-06-12T10:46:31.2123204Z


User telemetry id: 

b02c8003-f249-4482-bd8f-abbef4edcc65


AL call stack: 

"Workflow Response Handling"(CodeUnit 1521).OpenDocument line 37 - Base Application by Microsoft version 26.1.33404.34999

"Workflow Response Handling"(CodeUnit 1521).OpenDocument line 19 - Base Application by Microsoft version 26.1.33404.34999

"Workflow Response Handling"(CodeUnit 1521).ExecuteResponse line 31 - Base Application by Microsoft version 26.1.33404.34999

"Workflow Management"(CodeUnit 1501).ExecuteResponses line 32 - Base Application by Microsoft version 26.1.33404.34999

"Workflow Management"(CodeUnit 1501).HandleEventWithxRecOnKnownWorkflowInstance line 32 - Base Application by Microsoft version 26.1.33404.34999

"Workflow Management"(CodeUnit 1501).HandleEventOnKnownWorkflowInstance line 2 - Base Application by Microsoft version 26.1.33404.34999

"Workflow Event Handling"(CodeUnit 1520).RunWorkflowOnRejectApprovalRequest line 2 - Base Application by Microsoft version 26.1.33404.34999

"Approvals Mgmt."(CodeUnit 1535).OnRejectApprovalRequest(Event) line 2 - Base Application by Microsoft version 26.1.33404.34999

"Approvals Mgmt."(CodeUnit 1535).RejectSelectedApprovalRequest line 12 - Base Application by Microsoft version 26.1.33404.34999

"Approvals Mgmt."(CodeUnit 1535).RejectApprovalRequests line 13 - Base Application by Microsoft version 26.1.33404.34999

"Requests to Approve"(Page 654)."Reject - OnAction"(Trigger) line 6 - Base Application by Microsoft version 26.1.33404.34999
  • Suggested answer
    YUN ZHU Profile Picture
    85,670 Super User 2025 Season 1 on at
  • Suggested answer
    Sohail Ahmed Profile Picture
    4,747 on at
    Error In Workflow for payment journal in reject / cancel payment
    The error occurs because the workflow response is targeting the Gen. Journal Line, which is not a supported record type for cancel/reject actions in standard BC workflows. These actions typically work at the Journal Batch level. To resolve this, adjust the workflow to target the correct record type.
     
    If you're using a custom extension for this workflow, you’ll need to contact the extension developer or your Microsoft partner for proper handling.
     
    ✅ Mark this answer as verified if it helps you.
     

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans