Hello
I want to send an email when the queue items are successful I know I have to put the mail part in the end process but I want to set a condition to send the email only if the transaction is successful I have tried the SystemException is nothing expression but did not works it give me an error I believe because my version too old but I can not update it.
If "System exception IsNothing " is not working in your version of the studio
Then try creating an out argument of Boolean type at the end of the “process” state or in the “No data” transition state
and assign it as true and default value as false
In the “end process” state import that in_argument
Put an If condition as (if: in_Argument is true)
Then: send mail
If you want to send an email only if all the transactions are successful…and dont send even if one trasanction is failed…then add a variable of boolean type say bool_Success…and assign initial value to be true in the initialize state
Then in the process state in the exception and business exception catch block use assign and assign bool_success to false
And in your end process state use if condition and check bool_success and on then side send email
Could you elaborate more on the Requirement ? It seems from the Error that you are facing you are using a Reserved keyword and that is the reason the error occurs.
Also, you have mentioned the version is old, Could you also state which version is that you are using ?
If you could provide a Screenshot of the Error on where exactly it is occurring, it will also helps us to suggest you the right approach for fixing it.