Nested If block with 2 conditional check

Hi, How do you create a flow nested if block-checking 2 conditions?
For example:
if id = 1001 and age <50 then code=“Selected”
else if id=1001 and age >= 50 then code=“Unselected”.
Pass the result on to another request for input.

Appreciate Flow snippet. I am a novice in postman.

Thanks in advance

You can do this with an evaluate block that accepts two fields as ports called id and age. Doing this with an ifblock might not be great since you want to produce a differentcodeFor an evaluate block, you can use typescript` if you’re familiar with that language.

Thanks @lunar-module-1, will try to use the Evaluate block

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.