To minimize the nested if activity which is UiPath in-built you can use nested if condition in assign activity to make it much simpler with single line code, Code snippet to determine “User Age” group with a nested if condition If(UserAge<18,”Minor”,If(UserAge>=18 and UserAge<59,”Major”,”Senior Citizen”)) #HappyAutomation