I need help finding a way to check a webResponse.
I currently have a process that is triggered by a Task that is changed to "Done". Once that trigger occurs, I check to see IF it is a certain task. IF it is then call the "Send Web Request" function. I then want to check IF the {{webResponse.Status}} != 200 => Send Email.
Problem is that {{webResponse}} is out of scope... If I create a variable that IS in scope, I cant seem to find a way to reassign it after the Web Request is made.
I also cant seem to create a nested if within the Scope of the WebRequest to check there.
Anyone have suggestions or advice?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for sharing. The issue is that you created two conditions that are "If/Else" blocks. As such, the call you make inside the first If/Else condition block, it will not be available in the next one you try to run.
Instead, for the first block, you should pick the Issue Fields condition, and then create a new If/Else block if the conditions passes.
It should look like this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
but wouldnt the Web Request need to be nested in the first IF block?
else itll do the first IF block, then do what is nested in there (nothing) then continue to do the webrequest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No.
The If blocks don't work quite the same way that they do in a coding language. In a coding language you would need to nest it inside of an if, but the way that the single "If" components work is that if the condition isn't met, the rest of the rule is not processed. Everything that comes underneath the singular "If" is "nested" by definition.
Does that make sense?
Thanks,
Kian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Within the same context, you should be able to update the variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kian Stack Mumo Systems How though? Do you use the "Create Variable" function and name it the same?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.