Workflow conditions on a choice field type (Checkboxes (allow multiple selections)) in SharePoint 2010 -
i want check value of choice column type allows multiple selections. basically;
if current item: sports equals hockey something..... if current item: sports equals baseball something..... if current item: sports equals football something..... if current item: sports equals basketball something.....
based on each item checked, when condition met code execute each item selected. tried obvious looks code posted above.
thank you
answered own question experimenting little more. if have options selected, hockey, baseball, football, , basketball, current item value "sports" this
string: ;#hockey;#baseball;#basketball;#football;# choices, comma delimitted: hockey, baseball, football, basketball
so if write workflow way;
if current item: sports contains hockey something..... if current item: sports contains baseball something..... if current item: sports contains football something..... if current item: sports contains basketball something.....
if value selected , able search "array" or list items , execute condition based on if option contained or not.
thought post answer in case helps else out. there more complicated solutions online, 1 simple , works me
Comments
Post a Comment