I want to log few messages incase of system/business exception using ReFramework. Please help me with the syntax.
- The activity in which it failed
- the workflow in which it failed
Thanks
I want to log few messages incase of system/business exception using ReFramework. Please help me with the syntax.
Thanks
If you use try catch around a invoke workflow say in ref if you want to capture the details in the process transaction try catch
Then use exception.source which will give you full trace from the activity till the last invoke workflow where it failed
If you need workflow separately then you need to write the workflow name to a asset or some place at the start of the workflow so that when exception occurs you can retrieve it
Cheers
Exception.Source will give the source information where the exception throws in which activity or in which workflow.
Exception.Message will give the error information.
Hope it helps!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.