Comprehensive and Detailed Explanation From Exact Extract:
B (Correct):Apex methods exposed toFlowmust be:
Static
Annotated with @InvocableMethod
Accept aListof parameters (for bulkification)
Return aList of custom class objects
This method signature supports Flow Builder’s bulk processing model, which is required in enterprise scenarios where the Flow might process multiple records.
[Reference:Apex Developer Guide – InvocableMethod Annotation, This relates toProcess Automation and Logic (30%)in the PD1 exam, especially around "leveraging Apex with Flow.", , , ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit