Try Catch?

I have condition.
If in try string = a → run in try
but if not a —> go to Catch.

Please guide me about it.

Hi,

Can you try CheckTrue activity as the following?

img20220215-2

Regards,

1 Like

Hi @fairymemay

You can try with using IF condition

image

Regards
Gokul

1 Like

Can you try with this

Use Try/Catch activity

Try → Use If condition

Then → Process the case
Else → Throw activity

If the condition goes to else

It will process Catch

Regards
Gokul

3 Likes

Hi @fairymemay

We can try with the below approach also!

Sequence surrounded by try catch

If your condition!

Then part leave blank

Else part drag a throw and mention a new business rule exception(“string not equals”)

Catch exp type business rule exception

Log the exception!

Regards

1 Like