Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 10 Question 47 Discussion

What is the difference between a subflow and a sync flow?
B) Subflow has no error handling of its own and sync flow does
A) No difference
C) Sync flow has no error handling of its own and subflow does
D) Subflow is synchronous and sync flow is asynchronous

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 10 Question 47 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 47
Topic #: 10
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

What is the difference between a subflow and a sync flow?

Show Suggested Answer Hide Answer
Suggested Answer: B

Correct answer is Subflow has no error handling implementation where as sync flow has.

Subflow

A subflow processes messages synchronously (relative to the flow that triggered its execution) and always inherits both the processing strategy and exception strategy employed by the triggering flow. While a subflow is running, processing on the triggering flow pauses, then resumes only after the subflow completes its processing and hands the message back to the triggering flow.

Synchronous Flow

A synchronous flow, like a subflow, processes messages synchronously (relative to the flow that triggered its execution). While a synchronous flow is running, processing on the triggering flow pauses, then resumes only after the synchronous flow completes its processing and hands the message back to the triggering flow. However, unlike a subflow, this type of flow does not inherit processing or exception strategies from the triggering flow.

This type of flow processes messages along a single thread, which is ideally suited to transactional processing


Contribute your Thoughts:

0/2000 characters
Micheline
21 hours ago
I practiced a question like this, and I feel like sync flows definitely have some error handling, but I can't recall the specifics.
upvoted 0 times
...
Shawn
6 days ago
I think I remember that subflows are used within sync flows, but I'm not sure about the error handling part.
upvoted 0 times
...

Save Cancel