SOLVED
Formula says Invalid type Operator
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
roige_28
6 - Meteoroid
‎01-30-2024
08:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am new to creating workflows and I am getting an error when trying to change values in the same column. The result should be for amounts that are equal to or greater than 100 that the value should be 100 and if it is below 100 then it should be for the same amount. I tried this formula but keep on getting an error.
if [CLAIM_AMOUNT] >="120" then [CLAIM_AMOUNT] "120" else [CLAIM_AMOUNT] endif
Solved! Go to Solution.
Labels:
- Labels:
- Developer Tools
4 REPLIES 4
binuacs
21 - Polaris
‎01-30-2024
08:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
if [CLAIM_AMOUNT] >="120" then "120" else [CLAIM_AMOUNT] endif
17 - Castor
‎01-30-2024
08:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @roige_28 if your column/field claim amount is a numeric data type then you don't need to put quotes around 120 and can delete claim amount for the then part argument of the If formula. You only need quotes for string arguements and not numeric.
if [CLAIM_AMOUNT] >=120 then 120 else [CLAIM_AMOUNT] endif
flying008
15 - Aurora
‎01-30-2024
11:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎01-30-2024
11:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you everyone for your help♥
