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
Joseph
2 days ago
I feel confused. A seems too simple.
upvoted 0 times
...
Sina
8 days ago
I think B is correct. Subflows lack error handling.
upvoted 0 times
...
Charolette
13 days ago
Subflow is definitely not synchronous, that’s a misconception!
upvoted 0 times
...
Mariko
18 days ago
Wait, are you sure about that? Sounds a bit off to me.
upvoted 0 times
...
Floyd
23 days ago
Totally agree with B! Sync flows have their own error handling.
upvoted 0 times
...
Francine
28 days ago
I thought subflows were just another name for sync flows?
upvoted 0 times
...
Leigha
1 month ago
B is the right answer! Subflows don’t handle errors.
upvoted 0 times
...
Viva
1 month ago
I remember reading that subflows don't handle errors on their own, which might mean option B is correct, but I need to double-check that.
upvoted 0 times
...
Lachelle
1 month ago
I thought subflows were always synchronous, but now I'm confused if sync flows can be asynchronous too.
upvoted 0 times
...
Micheline
2 months 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
2 months 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