Handling multiple "only when" scenarios

Hi all,

Hoping to get some advice on the best way to handle this.

I have a thing called “ICP Score” (number), which I need to update whenever a Contacts “fleet size” field changes - depending on the “fleet size” number, the ICP score changes, as per below:

I’d prefer to not have to create 5 workflows to, with their own “only when” conditions, is there another way?

I would prefer to run a JavaScript to make this analysis…

But you can create a simple condition directly in the ICP Scope field:

ICP Scope = FleetSize > 100:Formated as text:Converterd to Number

Inside the “Formated as text” you start to dig in the possibilities

IF YES: 10
IF No: FleetSize > 49:Formated as text:

IF YES: 7
IF No: FleetSize > 19:Formated as text:

IF YES: 5
IF No: FleetSize > 9:Formated as text:

IF YES: 3
IF No: 1

1 Like

Awesome, thank you!

1 Like