Expand my Community achievements bar.

How to Set Up Data Store for Multi Select Fields

Avatar

Level 1

Hi, 

 

We are trying to build a scenario to translate data between two objects in Workfront. The two objects will be Program and Document. 

 

We want to translate the single channel field in program into three different fields in document. For example, if SMS is selected in the channel program field, we will want to cascade three different values to three different fields in document form. 

TaufiqMa_0-1717987339741.png

 

I managed to set up triggers beautifully. However when it comes to data store set up, this is where I am stucked at. I use the Search am using the Search Record module for Data Store module. The filter I put is Channel in Data Store is equal to Channel selected in Program. 

 

It works when there is a single value. However the Channel field we set up is actually a multi select field. The operation stopped at the data store module as they are not able to pick up multiple values. 

 

Is there a way for us to set up the data store filter so that it will be able to pick up multi select values? We would want to avoid using switch module as it is not feasible for maintenance. 

 

Any help is greatly appreciated. Thank you!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Community Advisor

hi,

here are my few thoughts:

- you are saying you use filter "equal to", I would switch this to one of array operators like "contains"

- multi-select field is essentially a collection, so array operators should work better with them

- what I sometimes do is to add OR clause and use Array operators to identify multi-select scenario and Text operators to identify single-select scenario

I hope this helps

Rafal

Avatar

Level 1

Hi @Rafal_Bainie 

 

Thank you for your reply! I tried using array operator - contains and it still does not work for multi select values. Here's how the filter is set up in the Data Store - Search Record module:

ArtieBertie_0-1718070707731.png

 

The first value on the top is actually the values we put in the data store. All the values in the columns are single values. Meanwhile the value in the bottom is the one coming from Workfront program and this value will have multi select values most of the time, depending on the metadata associated with the programs. 

 

Could you help to look further into this please? Your assistance is greatly appreciated. Thank you!

Avatar

Level 2

@ArtieBertie hi, how are you doing? 

Will you be able to find a solution for your issue? I am trying to add a collection of payloads (the audience draft data) retrieved from the AEP connection in Fusion, but I am currently able to add only one record in the Data Store instead of all the records. 

Do you have any suggestions for this? I'd appreciate any guidance you can provide.

Thank you!