What is your goal?
I want the priority of the task to change depending on which option is selected in my website form.
What is the problem & what have you tried?
I want the priority of the task to change depending on which option is selected in my website form.
Error messages or input/output bundles
Prohibited value in parameter ‘priority’.
My scenario: {{if(2.field_826dec2b-bb3b-41fd-85aa-af2f7fd65679.value = “”“1-3 Monate”“”; “”“high”“”; if(2.field_826dec2b-bb3b-41fd-85aa-af2f7fd65679.value = “”“Sofort”“”; “”“urgent”“”; if(2.field_826dec2b-bb3b-41fd-85aa-af2f7fd65679.value = “”“3+ Monate”“”; “”“normal”“”; if(2.field_826dec2b-bb3b-41fd-85aa-af2f7fd65679.value = “”“unschlüssig”“”; “”“low”“”; “”“normal”“”))))}}
Screenshots (scenario flow, module settings, errors)
Hey there,
can you show a screenshot of the formula and copy it here using the code tag so it doesn’t break it?

{{if(2.`field_826dec2b-bb3b-41fd-85aa-af2f7fd65679`[].value = """1-3 Monate"""; """high"""; if(2.`field_826dec2b-bb3b-41fd-85aa-af2f7fd65679`[].value = """Sofort"""; """urgent"""; if(2.`field_826dec2b-bb3b-41fd-85aa-af2f7fd65679`[].value = """3+ Monate"""; """normal"""; if(2.`field_826dec2b-bb3b-41fd-85aa-af2f7fd65679`[].value = """unschlüssig"""; """low"""; """normal"""))))}}
My Code snippet
Hi Stoyan, did you mean this?
The mapping of the custom fields look strange. Why do you have the custom field ID and why is it an array? Can you show where you are mapping them from?
Either way, you dont need the double quotes. I think the issue is that “normal” doesnt exist as a priority, its without the quotes around it.
The Mapping is from “Onepage.io” and should be right.
I tried not only “normal” I also tried ID number from 1 to 4 but It dont work. In clickup you can use mapping or choose from a toggle list
You do not need additional double quotes around each text variable.
Delete all of them!
Thanks for your help, now there’s no more error message and the operation goes through, but unfortunately it always goes to “normal” no matter what I select in the form. I suspect it’s always reverting to the fallback.
This is probably because you still have double quotes in the function, which the input does not have.
1 Like
Oh I thought I have to delete only the double Quotes in the priority. Thanks now it works! 
1 Like