This is a bit hard to explain, but I’m trying to use the #_ACTIVITY_RESULT# variable, which holds information on the previous tasks that are run. Essentially, I’m wanting to use this variable to show if there is an error or not in the previous task. It’s not a problem to record the #_ACTIVITY_RESULT# in a set variable or if condition when THERE IS an error, because it populates information into this. The problem is when there IS NOT an error because it brings back and empty string. And this becomes a problem for setting variables or using this #_ACTIVITY_RESULT# in an if condition because neither allow an empty value and errors out when running saying “Expression can’t be empty”
So basically, what I’m wondering, is if there is a way around this to make this come back with some type of value when there is NOT an issue, so I can continue to evaluate and use this in my if actions or build set variables based on this? If not, this may be an enhancement request question, but instead of bringing back and empty string, is there a way for it to bring back something like “Success” or something, so we can use this #_ACTIVITY_RESULT# to evaluate if actions error or not correctly?
Hope this makes sense. Thanks as always.