Hello all,
I have this integration
I have some requirements, so that when task 7 is success it will contiue either to task 27 or task 25.
But there are certain condition when all of these edge conditions don't meet. In this case task 7 is still run successfuly but the integration flow doesn't continue. Is there a simple way to catch this exception beside making another edge condition? So, that even task 7 run succesfully and the integration status is success, I will know that the integration doesn't run through the end.
Best regards,
Solved! Go to Solution.
Sorry, the condition syntax was incorrect, I have corrected that now in the previous reply.
Basically use `NOT` instead of `!` and `AND` instead of `&&`
You can find the complete edge conditions syntax here https://cloud.google.com/application-integration/docs/edge-and-edge-conditions
You can create a third branch with condition set to
```
NOT(Condition1) AND NOT(Condition2)
```
and then return an error using the Return task. This way you can get to know when both the branches were not taken even after successfully running the base task.
Hi @tejeshraut
Thank you for the reply. Sorry for not adding the whole context.
My condition 1 = $job_status$ = "Completed with issues" AND ($job_result$ = "Declined Access" OR $job_result$ = "Parts Required" OR $job_result$ = "Other (please specify in comments)")
Condition 2: $job_status$ = "Completed" AND ($job_result$ = "Needs Quote" OR $job_result$ = "Further Visit Required" OR $job_result$ = "Other (please specify in comments)")
Adding an exclamation mark (to negate the condition) resulted in syntax error.
Sorry, the condition syntax was incorrect, I have corrected that now in the previous reply.
Basically use `NOT` instead of `!` and `AND` instead of `&&`
You can find the complete edge conditions syntax here https://cloud.google.com/application-integration/docs/edge-and-edge-conditions