Get argument from an process with exception in REFramework

Hi @snoopy @Pratiksha @Eric_Dimitri

I got it! I needed to extract a string as an out argument from the workflow deep in my ProcessTransaction.xaml.

The idea is to pass your variable as a log field of the exception :slight_smile:

Steps:

  1. Wrap your workflow that is supposed to out your argument in Try Catch
  2. Catch your exception and add your log field:
    image

image

image
3. Now you can assign your log field to a variable whenever the exception is handled higher in higher workflows:
image

I used it as an alternative to writing the variable to a temporary text file.

@ClaytonM I saw your answer on similar topic in one of the older threads. Would you maybe have a moment to gauge whether there are potential flaws to this solution (I would like to know if it is robust).

15 Likes