ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Event Request - Workflow Management

Open JacopoMuzziCapBS opened this issue 5 years ago • 3 comments

We need to perform some actions before standard code in Workflow management in Codeunit "Approvals Mgt." (1535), Function RejectApprovalRequestsForRecord

//> Added isHandled := false; OnBeforeRejectApprovalRequestsForRecord(RecRef, WorkflowStepInstance, isHandled);

if not isHandled then begin //< Added ApprovalEntry.SetCurrentKey("Table ID", "Document Type", "Document No.", "Sequence No."); ApprovalEntry.SetRange("Table ID", RecRef.Number);

image

JacopoMuzziCapBS avatar Apr 23 '21 12:04 JacopoMuzziCapBS

You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.

StanPesotskiy avatar Apr 23 '21 15:04 StanPesotskiy

[IntegrationEvent(false, false)] local procedure OnBeforeRejectApprovalRequestsForRecord(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance"; var IsHandled: Boolean) begin end;

JacopoMuzziCapBS avatar Apr 26 '21 08:04 JacopoMuzziCapBS

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

JesperSchulz avatar Apr 30 '21 05:04 JesperSchulz