Debug Logs are not logging flow actions after an Apex class is executed within the flow
Last updated 2017-05-09 ·Reference W-3441487 ·Reported By 5 users
Summary
Debug logs are not logging the flow actions after an Apex Class is executed within the flow as it did in Summer 16 release.
Repro
1) Login the Org with System Admin User
2) Create an Apex Class with this code:
----------
public With Sharing class flowClass{
@InvocableMethod(label='Flow Class' description='Class needs to be called from the flow')
public static void flowClassTest(){
//List<Account> acc = new List<Account>();
Account acc = [Select Id From Account Where Name = 'Flow Update'];
acc.Name = 'Flow Update';
update acc;
}
}
----------------
3) Create a simple flow with the following 3 elements in a sequential order:
a) Record Update
b) flowClass (Apex class created in step 1)
c) Record Create
4) Turn on the debug logs for running user with the following filters (notice that WF is FINER and APEX_CODE is FINEST):
APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,FINE;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,FINER
5) Execute the flow from UI
Actual Result:
=====================
- The "FlowRecordCreate" action is not logged in the Debug Logs
Expected Result:
=====================
- Flow actions should be logged after any Apex class execution as it does in Summer '16 release
Workaround
No workaround.
Reported By (5)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.