Solved

Contains expression option missing for multi-select choice fields

  • 21 November 2017
  • 3 replies
  • 7 views

Badge +3

Greetings,

 

I am attempting to create a workflow in SharePoint online that requires either a RUN IF or CONDITIONAL BRANCH which checks a multi-select choice field for a specific choice before acting upon it. However, the expression for both RUN IF and CONDITIONAL BRANCH does not give the option for CONTAINS for Choice Fields but rather EQUALS and NOT EQUALS. I recalled that Nintex onprem had this option. 

 

Thanks,

Tam

icon

Best answer by Chris_Ben 23 November 2017, 04:01

View original

3 replies

Userlevel 6
Badge +12

Hi Tam,

The Run If and Conditional branch actions for o365 do have the "contains" (and other) operators except they're not available when you provide a choice field (go figure!)

The workaround you could use is to save the contents of that multi-value choice field to a text variable and then use the variable in your Run If instead of the choice field.  That should work find (unless one of your choices contains any of this text:

_metadata":{"type":"Collection

Cheers,

Chris

Badge +3

Thanks Chris.

Userlevel 6
Badge +12

No worries Tam. If that answered your question, could you please mark it correct?

Thanks,

Chris

Reply