CRM On Demand - Administration (MOSC)

MOSC Banner

Embedded Iif statement - help with syntax please

edited Apr 10, 2012 6:01PM in CRM On Demand - Administration (MOSC) 2 commentsAnswered ✓
I am trying to create a workflow that updated the field values on a custom object which is associated to a product.

I have put the following expression to update a field based on diffferent variables:

IIf([<ProductType>]='Hardware' AND [<ProductCategory>] <> 'CATEGORY1', 'Hardware', IIf([<ProductType>]='Software', 'Software', IIf([<ProductType>]='Hardware' AND [<ProductCategory>]='CATEGORY1', 'C1 Hardware', '')

Each statement works on its own (it lets me save at least ), however when I try to put them altogether, I can't save and the following error pops up: Invalid expression syntax.... (SBL-ODS-00510)

Can anyone help with the expression syntax?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center