Exam4Training

What argument types can be used for a workflow that is invoked with the Isolated" option?

What argument types can be used for a workflow that is invoked with the Isolated" option?
A . Simple types
B . Reference types
C . Serializable types
D . Class types

Answer: C

Explanation:

The Isolated option for the Invoke Workflow File activity allows the invoked workflow to run in a separate Windows process, which can help with isolating a faulty workflow from the main workflow. However, this option requires that the arguments passed to the invoked workflow are serializable, meaning that they can be converted into a binary format that can be transferred across processes. Simple types, such as integers, strings, booleans, etc., are serializable by default. Reference types, such as arrays, lists, dictionaries, etc., are serializable if they implement the ISerializable interface or have the [Serializable] attribute. Class types are serializable if they meet the same criteria as reference types. Data Row is an example of a non-serializable type that cannot be used as an argument for an isolated workflow.

Reference: Invoke Workflow File, Using Arguments, What is the the use of “isolated” property of invoke workflow, How to pass arguments to Isolated Workflow.

Exit mobile version