Hi community,
Have been working through a methodology that refers to a number of data ranges / conditions or arrays and I've been working through the best way to deal with it.
For example, I've been converting the following table into a workflow and wanted to get some thoughts on if this is the best way to achieve this. My method works but it's a little cumbersome and doesn't scale very well so I thought I'd ask the brains trust.
| Value | Description | Definition |
| 0 | In scope to access the course | SCOPE = 1 and (LEVEL in (DEG, OUG, PUGD, PUGO) or AWARDLEVEL in (DEG, OUG, PUGD, PUGO)) |
| 1 | Not included and unable to access | Otherwise |
I've simply created a formula tool and added all the calculations manually one after the other to the formula tool using AND, OR and brackets to denote the calculation:
[SCOPE] = 1 AND
([LEVEL]="DEG" OR [LEVEL]="OUG" OR [LEVEL]="PUGD" OR [LEVEL]="PUGO" OR [AWARDLEVEL]="DEG" OR [AWARDLEVEL]="OUG" OR [AWARDLEVEL]="PUGD" OR [AWARDLEVEL]="PUGO")
Is there a more elegant way to put this together, or more robust / reusable way?
In the past, I've often used a text input tool and done a join but that only works if there's one list of criteria not when you're testing against two sets of criteria, as is the case above where you're checking against LEVEL and AWARDLEVEL fields.
