How to create a Invoke Workflow that takes 1 argument of of either 2 types and processes them based on the type?

How to create a Invoke Workflow that takes 1 argument of of either 2 types and processes them based on the type? I want my invoke workflow to take in either a Exception or a BusinessRuleException type as a argument and deal with them differently based on the type. Can that be done?

Hi,

How about the following? We can check variable type using TypeOf.

img20210114-0

Sample20210114-1.zip (3.5 KB)

Regards,