Loading

How to log that a flow has been executed in Scheduler

게시 일자: Jun 11, 2025
상세 설명

By default, Scheduler does not log that a flow has been executed.

솔루션

The most appropriate method is to output logs using the Logger component in the flow's context.

Alternatively, you can enable logging by setting the following package to the DEBUG level.
<AsyncLogger name="org.mule.runtime.core.internal.context.notification.Policy" level="DEBUG"/>

The following log entries will be recorded.
“resourceId” is the name of the flow.

DEBUG 2025-04-10 18:09:03,627 [[MuleRuntime].uber.11: org.mule.runtime.core.internal.source.scheduler.DefaultSchedulerMessageSource.pollingExecutor - myfirstappFlow/source @2a834d0b] [processor: ; event: ] org.mule.runtime.core.internal.context.notification.Policy: Sending notification: PipelineMessageNotification{action=pipeline process start, resourceId=myfirstappFlow, serverId=shinyas-ltmwgp8.internal.salesforce.com..myfirstapp, timestamp=1744276143627}

Knowledge 기사 번호

005036343

 
로드 중
Salesforce Help | Article